]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] dell_rbu: fix error check
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 16 Nov 2006 09:19:25 +0000 (01:19 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 16 Nov 2006 19:43:38 +0000 (11:43 -0800)
commit6897083abfb0156b533ab8ac42c47f68c550ca9e
tree511eb7ea465123ddac43bbfe1ef8e0ecb721a7f9
parent55aa601e14cbec987fa577a895e9297df1d0a71d
[PATCH] dell_rbu: fix error check

platform_device_register_simple() returns error code as pointer when it
fails.  The return value should be checked by IS_ERR().

Cc: Abhay Salunke <abhay_salunke@dell.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Matt Domsch <Matt_Domsch@dell.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/firmware/dell_rbu.c