[PATCH v3 1/3] PM / devfreq: Add devfreq_get_devfreq_by_node function
Krzysztof Kozlowski
krzk at kernel.org
Thu Sep 10 08:05:50 EDT 2020
On Tue, Sep 08, 2020 at 07:24:45PM +0900, Chanwoo Choi wrote:
> From: Leonard Crestez <leonard.crestez at nxp.com>
>
> 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 <lukasz.luba at arm.com>
> Signed-off-by: Leonard Crestez <leonard.crestez at 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 at samsung.com>
> ---
> drivers/devfreq/devfreq.c | 46 +++++++++++++++++++++++++++++----------
> include/linux/devfreq.h | 6 +++++
> 2 files changed, 41 insertions(+), 11 deletions(-)
Acked-by: Krzysztof Kozlowski <krzk at kernel.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list