diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-02-14 12:55:00 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-16 23:35:23 (GMT) |
commit | 0539771d7236b425f285652f6f297cc7939c8f9a (patch) | |
tree | 317a537794edc6e67741b24d5dd82a9f02cc3dcf /drivers/acpi/thermal.c | |
parent | ecb5f7521a309cb9c5fc0832b9705cd2a03d7d45 (diff) | |
download | linux-fsl-qoriq-0539771d7236b425f285652f6f297cc7939c8f9a.tar.xz |
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>
Diffstat (limited to 'drivers/acpi/thermal.c')
0 files changed, 0 insertions, 0 deletions