PM / devfreq: Add devfreq_get_devfreq_by_phandle()
Quoted 7 lines
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 <[email protected]>[linux.amoon: Tested on Odroid U3]Tested-by Anand Moon <[email protected]>
Signed-off-by MyungJoo Ham <[email protected]>
Quoted 5 lines
--- drivers/devfreq/devfreq.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/devfreq.h | 9 +++++++++ 2 files changed, 53 insertions(+)