]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/thermal/thermal_core.h
thermal: core: split available_policies_show()
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:08:56 +0000 (21:08 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commit97d2423bd9738bb75cd716d01c4c4e1d6fae8441
treecd032fb598591ce3555287a7d5fdf1861cb13195
parent6b885202d7c17157a44d5cb42793f795d6d7a58e
thermal: core: split available_policies_show()

This patch creates a helper to build a list of available governors.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c
drivers/thermal/thermal_core.h