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)
commitdb91651311c8b89978b17d27634582c28c33363e
tree67786b4eb698a3f3712a83a87ad89a0c267c1627
parent80b89172f9c3410764e0d962d6494c0af6d6dba8
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