diff options
| author | Marc Pignat <[email protected]> | 2007-12-04 23:45:10 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-12-05 09:21:18 -0800 |
| commit | 9b938b749065d6a94172ac24d9748bd66a03da4c (patch) | |
| tree | d5f3540224235751a492c8be8003c331263fe51a /include/linux/debugobjects.h | |
| parent | 3f86f14c0fc9fdb0984e64209df2f47895a07151 (diff) | |
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 <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions