summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorThomas Sujith <sujith.thomas@intel.com>2008-02-15 07:01:52 +0100
committerLen Brown <len.brown@intel.com>2008-02-16 00:21:30 +0100
commit19b36780ee7ddeb5080e3f1f858a83c4824f1fdc (patch)
tree88e854c9573fd61b0a78e01e1dd257cee4ce2c08 /sound
parentthermal: use ERR_PTR for returning error (diff)
downloadlinux-19b36780ee7ddeb5080e3f1f858a83c4824f1fdc.tar.xz
linux-19b36780ee7ddeb5080e3f1f858a83c4824f1fdc.zip
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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions