[PATCH] spi: check platform_device_register_simple() error
commit7b92ff01c2cd21567c3342c1c77d5e4f1a2bd699
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 7 Dec 2006 04:39:05 +0000 (6 20:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:42 +0000 (7 08:39 -0800)
tree1199e6eefd7bd544321a7f12560f34db1a1f3516
parent95362fa90312ff2d52c0b4d42412cd7ceeb3b89b
[PATCH] spi: check platform_device_register_simple() error

Check the return value of platform_device_register_simple().

Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/spi/spi_butterfly.c