Re: [PATCH v4 06/20] PM / devfreq: Add devfreq_get_devfreq_by_phandle()
From: MyungJoo Ham <myungjoo.ham@samsung.com>
Date: 2015-12-14 09:26:15
Also in:
linux-pm, linux-samsung-soc, lkml
From: MyungJoo Ham <myungjoo.ham@samsung.com>
Date: 2015-12-14 09:26:15
Also in:
linux-pm, linux-samsung-soc, lkml
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@samsung.com>
[linux.amoon: Tested on Odroid U3]
Tested-by: Anand Moon <redacted>Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
--- drivers/devfreq/devfreq.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/devfreq.h | 9 +++++++++ 2 files changed, 53 insertions(+)