ACPI fan: extract return values using PTR_ERR
authorThomas Sujith <sujith.thomas@intel.com>
Fri, 15 Feb 2008 06:01:52 +0000 (01:01 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 15 Feb 2008 23:21:30 +0000 (18:21 -0500)
Need to extract errors using PTR_ERR macro and
process accordingly.  thermal_cooling_device_register
returning NULL means that CONFIG_THERMAL=n and in that
case no need to create symbolic links.

Signed-off-by: Thomas Sujith <sujith.thomas@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found