]> git.baikalelectronics.ru Git - kernel.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)
commitc606f135e9fcad03b29b35dec9f202796d210a4b
treea4f84d499145e2a5c8d1c9312ac7b7f6912530a1
parentb3cc1721f76f1cfaabc9ff9d528250aee84372a3
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