diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2016-11-08 08:09:00 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-11-23 05:06:12 +0300 |
commit | a369ee88f7f6059a582087dc8bd9fc42b2731f5b (patch) | |
tree | 15b97cc029949dfcd3c2b3e1ecc6214f6b4213d2 /drivers/thermal/thermal_core.h | |
parent | 72afe8e54974823454e4c10d4b29e486ea79f6b7 (diff) | |
download | linux-a369ee88f7f6059a582087dc8bd9fc42b2731f5b.tar.xz |
thermal: core: move thermal_zone sysfs to thermal_sysfs.c
This is a code reorganization, simply to concentrate
the code handling sysfs in a specific file: thermal_sysfs.c.
Right now, moving only the sysfs entries of thermal_zone_device.
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>
Diffstat (limited to 'drivers/thermal/thermal_core.h')
-rw-r--r-- | drivers/thermal/thermal_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/thermal/thermal_core.h b/drivers/thermal/thermal_core.h index 097abee34633..bd8869333739 100644 --- a/drivers/thermal/thermal_core.h +++ b/drivers/thermal/thermal_core.h @@ -66,6 +66,9 @@ void thermal_zone_device_unbind_exception(struct thermal_zone_device *, int thermal_zone_device_set_policy(struct thermal_zone_device *, char *); int thermal_build_list_of_policies(char *buf); +/* sysfs I/F */ +int thermal_zone_create_device_groups(struct thermal_zone_device *, int); + #ifdef CONFIG_THERMAL_GOV_STEP_WISE int thermal_gov_step_wise_register(void); void thermal_gov_step_wise_unregister(void); |