]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: bay: use IS_ERR for return of register_platform_device_simple
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 14 Feb 2007 12:55:00 +0000 (10:55 -0200)
committerLen Brown <len.brown@intel.com>
Fri, 16 Feb 2007 23:35:23 +0000 (18:35 -0500)
commit0539771d7236b425f285652f6f297cc7939c8f9a
tree317a537794edc6e67741b24d5dd82a9f02cc3dcf
parentecb5f7521a309cb9c5fc0832b9705cd2a03d7d45
ACPI: bay: use IS_ERR for return of register_platform_device_simple

register_platform_device_simple returns ERR_PTR(foo), so test it with
IS_ERR(foo).

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/bay.c