On Tue, Sep 08, 2020 at 07:24:45PM +0900, Chanwoo Choi wrote: > From: Leonard Crestez <[email protected]> > > 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. > > 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]> > --- > drivers/devfreq/devfreq.c | 46 +++++++++++++++++++++++++++++---------- > include/linux/devfreq.h | 6 +++++ > 2 files changed, 41 insertions(+), 11 deletions(-)
Acked-by: Krzysztof Kozlowski <[email protected]> Best regards, Krzysztof

