diff options
author | Matthias Kaehlcke | 2018-08-03 22:05:11 +0200 |
---|---|---|
committer | MyungJoo Ham | 2018-10-02 03:16:41 +0200 |
commit | b596d895fa2957e136a6b398b97b06bd42b51291 (patch) | |
tree | 50d60b07d96c230c18c2ed7a8b1a5782873ba66c /drivers/devfreq | |
parent | PM / devfreq: Don't adjust to user limits in governors (diff) | |
download | kernel-qcow2-linux-b596d895fa2957e136a6b398b97b06bd42b51291.tar.gz kernel-qcow2-linux-b596d895fa2957e136a6b398b97b06bd42b51291.tar.xz kernel-qcow2-linux-b596d895fa2957e136a6b398b97b06bd42b51291.zip |
PM / devfreq: Make update_devfreq() public
Currently update_devfreq() is only visible to devfreq governors outside
of devfreq.c. Make it public to allow drivers that adjust devfreq policies
to cause a re-evaluation of the frequency after a policy change.
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r-- | drivers/devfreq/governor.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/devfreq/governor.h b/drivers/devfreq/governor.h index b81700244ce3..f53339ca610f 100644 --- a/drivers/devfreq/governor.h +++ b/drivers/devfreq/governor.h @@ -57,9 +57,6 @@ struct devfreq_governor { unsigned int event, void *data); }; -/* Caution: devfreq->lock must be locked before calling update_devfreq */ -extern int update_devfreq(struct devfreq *devfreq); - extern void devfreq_monitor_start(struct devfreq *devfreq); extern void devfreq_monitor_stop(struct devfreq *devfreq); extern void devfreq_monitor_suspend(struct devfreq *devfreq); |