Patch to bind devfreq to runtime pm framework. The device devfreq is automatically suspended with pm_runtime_suspend() and resumed with pm_runtime_resume().
Discussed at http://comments.gmane.org/gmane.linux.linaro.devel/13787
Rajagopal Venkat (2): PM / devfreq: Fix compiler warnings PM / devfreq: tie suspend/resume to runtime-pm
drivers/base/power/runtime.c | 18 ++++++++++++++- drivers/devfreq/devfreq.c | 51 ++++++++++++++++++++++++++++++++++++++---- include/linux/devfreq.h | 30 +++++++++---------------- include/linux/pm.h | 2 ++ 4 files changed, 76 insertions(+), 25 deletions(-)