]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ata: fix platform_device_register_simple() error check
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 15 Dec 2006 21:08:51 +0000 (13:08 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 16 Dec 2006 15:45:28 +0000 (10:45 -0500)
commit9825d73ceb6cad9b9c2ee2dc2971b58dbe8623cd
treed93e3349ee07705776addd62e4ec97d83a654ac8
parent551c012d7eea3dc5ec063c7ff9c718d39e77634f
[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 <jgarzik@pobox.com>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_legacy.c
drivers/ata/pata_qdi.c
drivers/ata/pata_winbond.c