diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-03-08 14:30:37 +0100 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2021-03-09 15:40:16 +0900 |
commit | 1224451bb6f938023dd7fa4e7ba43bfb185bc9e3 (patch) | |
tree | b07a6b84d8c641c7eecc92d948344ab47c7d0f09 /mm/list_lru.c | |
parent | fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8 (diff) |
PM / devfreq: Register devfreq as a cooling device on demand
Currently the default behavior is to manually having the devfreq
backend to register themselves as a devfreq cooling device.
Instead of adding the code in the drivers for the thermal cooling
device registering, let's provide a flag in the devfreq's profile to
tell the common devfreq code to register the newly created devfreq as
a cooling device.
Suggested-by: Chanwoo Choi <cwchoi00@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'mm/list_lru.c')
0 files changed, 0 insertions, 0 deletions