]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: export weight to sysfs
authorJavi Merino <javi.merino@arm.com>
Wed, 18 Feb 2015 16:04:24 +0000 (16:04 +0000)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 5 May 2015 04:27:51 +0000 (21:27 -0700)
commitff5efeb677cae0c42f04c77140c83e880b129757
tree67786b4eb698a3f3712a83a87ad89a0c267c1627
parent309c09b5167b88f660a7f42684ff8a04a4da0cca
thermal: export weight to sysfs

It's useful to have access to the weights for the cooling devices for
thermal zones and change them if needed.  Export them to sysfs.

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
drivers/thermal/thermal_core.h