diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-01-29 05:55:10 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-01-30 23:06:08 +0100 |
commit | 4b498869268ed631c7a383c50a6a6048b280dcd7 (patch) | |
tree | 7d88c6dadbba4009012b79adba8a9b4fcde57ade /drivers/dma/virt-dma.c | |
parent | cpufreq: qcom-hw: Register as a cpufreq cooling device (diff) | |
download | linux-4b498869268ed631c7a383c50a6a6048b280dcd7.tar.xz linux-4b498869268ed631c7a383c50a6a6048b280dcd7.zip |
cpufreq: imx6q: 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 'drivers/dma/virt-dma.c')
0 files changed, 0 insertions, 0 deletions