From: Akinobu Mita Date: Thu, 16 Nov 2006 09:19:25 +0000 (-0800) Subject: [PATCH] dell_rbu: fix error check X-Git-Tag: v2.6.19~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6897083abfb0156b533ab8ac42c47f68c550ca9e;p=pandora-kernel.git [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 Signed-off-by: Akinobu Mita Cc: Matt Domsch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed