ACPI video: check for error from thermal_cooling_device_register
authorThomas Sujith <sujith.thomas@intel.com>
Fri, 15 Feb 2008 23:29:18 +0000 (18:29 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 15 Feb 2008 23:29:18 +0000 (18:29 -0500)
commit43ff39f2f6450fa2e9a566f8bf007a26d76f2c9d
tree71a83f60ac43fab642d29e838f5c5151e85dc585
parentd76628c67cdeebf84766a19c67c821c2e518baa4
ACPI video: check for error from thermal_cooling_device_register

Need to check whether thermal_cooling_device_register
returned ERROR or not.

Signed-off-by: Thomas Sujith <sujith.thomas@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c