Marc Pignat 9b938b7490 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>
2007-12-05 09:21:18 -08:00
..
2007-11-29 09:24:51 -08:00
2007-02-14 08:09:53 -08:00
2007-07-17 10:23:05 -07:00
2007-10-16 09:43:09 -07:00
2007-10-16 09:43:10 -07:00
2007-10-16 09:43:10 -07:00
2007-05-08 11:15:15 -07:00
2007-10-16 09:43:10 -07:00
2007-10-29 07:41:33 -07:00
2007-08-31 01:42:22 -07:00