commit | 9825d73ceb6cad9b9c2ee2dc2971b58dbe8623cd | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Fri Dec 15 13:08:51 2006 -0800 |
committer | Jeff Garzik <jeff@garzik.org> | Sat Dec 16 10:45:28 2006 -0500 |
tree | d93e3349ee07705776addd62e4ec97d83a654ac8 | |
parent | 551c012d7eea3dc5ec063c7ff9c718d39e77634f [diff] |
[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>