diff options
author | Vernon Sauder <vernoninhand@gmail.com> | 2008-10-15 22:02:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 11:21:38 -0700 |
commit | f9b90e39cbc5c4d6ef60022fd1f25d541df0aad1 (patch) | |
tree | af043fc4e24a12447c7312ef9b246f24d619f6f7 /drivers/regulator | |
parent | 62f9e8f15a95822e0a793090ff69b277690c6aa6 (diff) |
spi: simplify spi_write_then_read()
Modify spi_write_then_read() to use one transfer. This speeds up all
callers, and is a minor code shrink.
Signed-off-by: Vernon Sauder <Vernon.Sauder@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/regulator')
0 files changed, 0 insertions, 0 deletions