commit | 19b36780ee7ddeb5080e3f1f858a83c4824f1fdc | [log] [tgz] |
---|---|---|
author | Thomas Sujith <sujith.thomas@intel.com> | Fri Feb 15 01:01:52 2008 -0500 |
committer | Len Brown <len.brown@intel.com> | Fri Feb 15 18:21:30 2008 -0500 |
tree | 88e854c9573fd61b0a78e01e1dd257cee4ce2c08 | |
parent | 3e6fda5c1159823fc02463eceb564c8bfc0e7a0e [diff] |
ACPI fan: 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>