diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2020-09-08 19:24:45 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2020-09-29 17:50:09 +0900 |
commit | 7b38b7b0427df70237e3c9c73f2db6b99be2b4b9 (patch) | |
tree | 9a92fc61050105b294a42d142f12170f935950fb /drivers/devfreq/Kconfig | |
parent | Linux 5.9-rc7 (diff) | |
download | linux-dev-7b38b7b0427df70237e3c9c73f2db6b99be2b4b9.tar.xz linux-dev-7b38b7b0427df70237e3c9c73f2db6b99be2b4b9.zip |
PM / devfreq: Add devfreq_get_devfreq_by_node function
Split off part of devfreq_get_devfreq_by_phandle into a separate
function. This allows callers to fetch devfreq instances by enumerating
devicetree instead of explicit phandles.
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
[cw00.choi: Export devfreq_get_devfreq_by_node function and
add function to devfreq.h when CONFIG_PM_DEVFREQ is enabled.]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/devfreq/Kconfig')
0 files changed, 0 insertions, 0 deletions