summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPunit Agrawal <punit.agrawal@arm.com>2015-09-08 14:51:12 +0100
committerEduardo Valentin <edubezval@gmail.com>2015-09-13 19:33:07 -0700
commitcd33dc9ac2977ebe30cecbf39d2992190fbac5b4 (patch)
tree198e7f311e0479d5168dd9d4583a00ac04e673a3 /drivers
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
downloadlinux-cd33dc9ac2977ebe30cecbf39d2992190fbac5b4.tar.bz2
thermal: Fix thermal_zone_of_sensor_register to match documentation
thermal_zone_of_sensor_register is documented as returning a pointer to either a valid thermal_zone_device on success, or a corresponding ERR_PTR() value. In contrast, the function returns NULL when THERMAL_OF is configured off. Fix this. Signed-off-by: Punit Agrawal <punit.agrawal@arm.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions