diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-01-29 05:55:12 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-01-30 23:06:08 +0100 |
commit | 0db60d6b89b921c26d6dac4ec7b35e0102d8f9f8 (patch) | |
tree | 7f5cea0ba578a5c637cc8c7e093f2cd3b7ba21b2 /block/scsi_ioctl.c | |
parent | cpufreq: cpufreq-dt: Use auto-registration of thermal cooling device (diff) | |
download | linux-0db60d6b89b921c26d6dac4ec7b35e0102d8f9f8.tar.xz linux-0db60d6b89b921c26d6dac4ec7b35e0102d8f9f8.zip |
cpufreq: mediatek: 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: 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 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions