intel_menlo: extract return values using PTR_ERR
authorThomas Sujith <sujith.thomas@intel.com>
Fri, 15 Feb 2008 06:05:23 +0000 (01:05 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 15 Feb 2008 23:29:30 +0000 (18:29 -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