From: Marc Pignat Date: Wed, 5 Dec 2007 07:45:10 +0000 (-0800) Subject: spi: simplify spi_sync() calling convention X-Git-Tag: v2.6.24-rc5~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b938b749065d6a94172ac24d9748bd66a03da4c;p=pandora-kernel.git 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 Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed