diff options
author | Marc Pignat <marc.pignat@hevs.ch> | 2007-12-05 08:45:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-05 18:21:18 +0100 |
commit | 9b938b749065d6a94172ac24d9748bd66a03da4c (patch) | |
tree | d5f3540224235751a492c8be8003c331263fe51a /drivers/mmc | |
parent | spi: at25 driver is for EEPROM not FLASH (diff) | |
download | linux-9b938b749065d6a94172ac24d9748bd66a03da4c.tar.xz linux-9b938b749065d6a94172ac24d9748bd66a03da4c.zip |
spi: simplify spi_sync() calling convention
Simplify spi_sync calling convention, eliminating the need to check both
the return value AND the message->status. In consequence, this corrects
misbehaviours of spi_read and spi_write (which only checked the former) and
their callers.
Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
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/mmc')
0 files changed, 0 insertions, 0 deletions