summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorMarc Pignat <marc.pignat@hevs.ch>2007-12-05 10:45:10 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-12-05 20:21:18 +0300
commit9b938b749065d6a94172ac24d9748bd66a03da4c (patch)
treed5f3540224235751a492c8be8003c331263fe51a /drivers/rtc
parent3f86f14c0fc9fdb0984e64209df2f47895a07151 (diff)
downloadlinux-9b938b749065d6a94172ac24d9748bd66a03da4c.tar.xz
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/rtc')
0 files changed, 0 insertions, 0 deletions