summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2013-02-05 09:40:17 +0000
committerChanho Park <chanho61.park@samsung.com>2014-08-08 15:19:59 +0900
commit63633c5f6e61572950f956af7bf16879a452af6b (patch)
tree5d4b3b5b5d626d26d901318a3ab9a55c93b04ad9 /include/linux
parentbc1154e0031955ef12bcfa75a9f83764b308c69a (diff)
downloadlinux-3.10-63633c5f6e61572950f956af7bf16879a452af6b.tar.gz
linux-3.10-63633c5f6e61572950f956af7bf16879a452af6b.tar.bz2
linux-3.10-63633c5f6e61572950f956af7bf16879a452af6b.zip
PM / devfreq: add comments and Documentation
- Added missing ABI documents - Added comments to clarify the objectives of functions Change-Id: Ic2206ad6671156eedb28d450046e8e2ea876b18c Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Acked-by: Nishanth Menon <nm@ti.com> Acked-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/devfreq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h
index fe8c4476f7e..5f1ab92107e 100644
--- a/include/linux/devfreq.h
+++ b/include/linux/devfreq.h
@@ -181,6 +181,8 @@ extern struct devfreq *devfreq_add_device(struct device *dev,
const char *governor_name,
void *data);
extern int devfreq_remove_device(struct devfreq *devfreq);
+
+/* Supposed to be called by PM_SLEEP/PM_RUNTIME callbacks */
extern int devfreq_suspend_device(struct devfreq *devfreq);
extern int devfreq_resume_device(struct devfreq *devfreq);