diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-01-29 05:55:15 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-01-30 23:06:08 +0100 |
commit | cb772b8ce4b9f5353c34f4d38ab0c697c0071625 (patch) | |
tree | 281e8ed4d2ebd0ea18ec32e1f3309b0ace122a02 /drivers/cpufreq/sparc-us2e-cpufreq.c | |
parent | cpufreq: scmi: Use auto-registration of thermal cooling device (diff) | |
download | linux-cb772b8ce4b9f5353c34f4d38ab0c697c0071625.tar.xz linux-cb772b8ce4b9f5353c34f4d38ab0c697c0071625.zip |
cpufreq: scpi: Use auto-registration of thermal cooling device
Use the CPUFREQ_IS_COOLING_DEV flag to allow cpufreq core to
automatically register as a thermal cooling device.
This allows removal of boiler plate code from the driver.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/sparc-us2e-cpufreq.c')
0 files changed, 0 insertions, 0 deletions