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-10-17 08:42:52 -07:00
2007-11-19 11:20:42 +11:00
2007-10-29 17:27:50 -04:00
2007-12-03 08:13:17 -08:00
2007-10-16 09:43:09 -07:00
2007-10-19 11:53:42 -07:00
2007-11-05 21:54:41 +00:00
2007-11-14 18:45:39 -08:00
2007-11-05 15:12:31 -08:00
2007-11-29 09:24:53 -08:00
2007-10-23 09:49:31 +02:00
2007-11-28 14:35:26 -08:00
2007-10-19 11:53:41 -07:00
2007-10-20 15:04:06 -07:00
2007-10-17 08:42:57 -07:00
2007-11-14 18:45:36 -08:00
2007-10-23 15:49:54 +10:00