Skip to contentSkip to conversation

PM / devfreq: Add devfreq_get_devfreq_by_phandle()

PATCH MyungJoo Ham 1 participant 1 message Dec 14, 2015 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw
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").

[linux.amoon: Tested on Odroid U3]
Quoted 5 lines
---
 drivers/devfreq/devfreq.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
 include/linux/devfreq.h   |  9 +++++++++
 2 files changed, 53 insertions(+)