From: Akinobu Mita Date: Fri, 15 Dec 2006 21:08:51 +0000 (-0800) Subject: [PATCH] ata: fix platform_device_register_simple() error check X-Git-Tag: v2.6.20-rc2~123^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9825d73ceb6cad9b9c2ee2dc2971b58dbe8623cd;p=pandora-kernel.git [PATCH] ata: fix platform_device_register_simple() error check The return value of platform_device_register_simple() should be checked by IS_ERR(). Cc: Jeff Garzik Acked-by: Alan Cox Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed