commit | d76628c67cdeebf84766a19c67c821c2e518baa4 | [log] [tgz] |
---|---|---|
author | Thomas Sujith <sujith.thomas@intel.com> | Fri Feb 15 18:26:54 2008 -0500 |
committer | Len Brown <len.brown@intel.com> | Fri Feb 15 18:26:54 2008 -0500 |
tree | 57d6af9424a3ea07914317821d9a8a2c7505368f | |
parent | 19b36780ee7ddeb5080e3f1f858a83c4824f1fdc [diff] |
ACPI thermal: extract return values using PTR_ERR 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>