[PATCH v3 2/3] PM / devfreq: Change prototype of devfreq_get_devfreq_by_phandle function
Krzysztof Kozlowski
krzk at kernel.org
Thu Sep 10 08:06:25 EDT 2020
On Tue, Sep 08, 2020 at 07:24:46PM +0900, Chanwoo Choi wrote:
> Previously, devfreq core support 'devfreq' property in order to get
> the devfreq device by phandle. But, 'devfreq' property name is not proper
> on devicetree binding because this name doesn't mean the any h/w attribute.
>
> The devfreq core hand over the right to decide the property name
> for getting the devfreq device on devicetree. Each devfreq driver
> will decide the property name on devicetree binding and pass
> the their own property name to devfreq_get_devfreq_by_phandle function.
>
> Signed-off-by: Chanwoo Choi <cw00.choi at samsung.com>
> ---
> drivers/devfreq/devfreq.c | 11 +++++++----
> drivers/devfreq/exynos-bus.c | 2 +-
> include/linux/devfreq.h | 5 +++--
> 3 files changed, 11 insertions(+), 7 deletions(-)
Acked-by: Krzysztof Kozlowski <krzk at kernel.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list