diff options
author | Leonard Crestez <[email protected]> | 2020-09-08 19:24:45 +0900 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2020-09-29 17:50:09 +0900 |
commit | 7b38b7b0427df70237e3c9c73f2db6b99be2b4b9 (patch) | |
tree | 9a92fc61050105b294a42d142f12170f935950fb /drivers/devfreq/devfreq-event.c | |
parent | a1b8638ba1320e6684aa98233c15255eb803fac7 (diff) |
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 <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Signed-off-by: Leonard Crestez <[email protected]>
[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 <[email protected]>
Diffstat (limited to 'drivers/devfreq/devfreq-event.c')
0 files changed, 0 insertions, 0 deletions