summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/hisi_thermal.c
diff options
context:
space:
mode:
authorNi Wade2015-07-14 09:40:56 +0200
committerZhang Rui2015-08-03 17:15:50 +0200
commit25a0a5ce16ecd7e60c4cf1436892433873e9d99d (patch)
tree4debaeb56d0784c137b0b91afb5cfd9b7da41bc6 /drivers/thermal/hisi_thermal.c
parentLinux 4.2-rc5 (diff)
downloadkernel-qcow2-linux-25a0a5ce16ecd7e60c4cf1436892433873e9d99d.tar.gz
kernel-qcow2-linux-25a0a5ce16ecd7e60c4cf1436892433873e9d99d.tar.xz
kernel-qcow2-linux-25a0a5ce16ecd7e60c4cf1436892433873e9d99d.zip
thermal: add available policies sysfs attribute
The Linux thermal framework support to change thermal governor policy in userspace, but it can't show what available policies supported. This patch adds available_policies attribute to the thermal framework, it can list the thermal governors which can be used for a particular zone. This attribute is read only. Signed-off-by: Wei Ni <wni@nvidia.com> Reviewed-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/hisi_thermal.c')
0 files changed, 0 insertions, 0 deletions