diff options
author | Thomas Sujith <sujith.thomas@intel.com> | 2008-02-15 06:59:50 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-16 00:21:30 +0100 |
commit | 3e6fda5c1159823fc02463eceb564c8bfc0e7a0e (patch) | |
tree | 38af580a57b553a902db25ec1401d8005885981d /drivers/acpi/fan.c | |
parent | thermal: validate input parameters (diff) | |
download | linux-3e6fda5c1159823fc02463eceb564c8bfc0e7a0e.tar.xz linux-3e6fda5c1159823fc02463eceb564c8bfc0e7a0e.zip |
thermal: use ERR_PTR for returning error
Need to return using ERR_PTR instead of NULL
in case of errors.
Signed-off-by: Thomas Sujith <sujith.thomas@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/fan.c')
0 files changed, 0 insertions, 0 deletions