]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
spi: fix error paths on txx9spi_probe
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Thu, 15 Nov 2007 00:59:23 +0000 (16:59 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:39 +0000 (18:45 -0800)
commitba0a7f39ce8cd54a1b2f3adb03509ff251a91bde
treea4f84d499145e2a5c8d1c9312ac7b7f6912530a1
parent350d0076c5763ca2b88ca05e3889bfa7c1905f21
spi: fix error paths on txx9spi_probe

Some error paths in txx9spi_probe wrongly return 0.  This patch fixes them by
using the devres interfaces.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_txx9.c