thermal: export thermal_zone_parameters to sysfs
authorJavi Merino <javi.merino@arm.com>
Thu, 26 Mar 2015 15:53:02 +0000 (15:53 +0000)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 5 May 2015 04:27:54 +0000 (21:27 -0700)
commit9f38271c6f82a577d9fdab27aaf2e1c55ae5cf73
treea286309ec30fc92c3422f3bf9bcd1d053ffdf4c6
parent0cdf97e1ad8d796313de051528f06c1b16f3a679
thermal: export thermal_zone_parameters to sysfs

It's useful for tuning to be able to edit thermal_zone_parameters from
userspace.  Export them to the thermal_zone sysfs so that they can be
easily changed.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Documentation/thermal/sysfs-api.txt
drivers/thermal/thermal_core.c