Re: [PATCH v4 06/20] PM / devfreq: Add devfreq_get_devfreq_by_phandle()

From: MyungJoo Ham
Date: Mon Dec 14 2015 - 04:26:19 EST


>
> This patch adds the new devfreq_get_devfreq_by_phandle() OF helper function
> which can find the instance of devfreq device by using phandle ("devfreq").
>
> Signed-off-by: Chanwoo Choi <cw00.choi@xxxxxxxxxxx>
> [linux.amoon: Tested on Odroid U3]
> Tested-by: Anand Moon <linux.amoon@xxxxxxxxx>

Signed-off-by: MyungJoo Ham <myungjoo.ham@xxxxxxxxxxx>

> ---
> drivers/devfreq/devfreq.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
> include/linux/devfreq.h | 9 +++++++++
> 2 files changed, 53 insertions(+)
>