From 117bd6ec2bd4dee18c5f83e6b742d174c2007be8 Mon Sep 17 00:00:00 2001 From: Sylwester Nawrocki Date: Tue, 15 Mar 2016 12:56:37 +0100 Subject: [PATCH] Revert "PM: devfreq: Add the prototype of update_devfreq() to export" This temporarily reverts commit d70aa318b6a80780e3134d8a07303fa72b95576b, which will be re-applied after applying soem mainline commits. Signed-off-by: Sylwester Nawrocki --- include/linux/devfreq.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/linux/devfreq.h b/include/linux/devfreq.h index 07da551..ce447f0 100644 --- a/include/linux/devfreq.h +++ b/include/linux/devfreq.h @@ -204,8 +204,6 @@ extern int devm_devfreq_register_opp_notifier(struct device *dev, extern void devm_devfreq_unregister_opp_notifier(struct device *dev, struct devfreq *devfreq); -extern int update_devfreq(struct devfreq *devfreq); - #if IS_ENABLED(CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND) /** * struct devfreq_simple_ondemand_data - void *data fed to struct devfreq @@ -291,11 +289,6 @@ static inline void devm_devfreq_unregister_opp_notifier(struct device *dev, struct devfreq *devfreq) { } - -static inline int update_devfreq(struct devfreq *devfreq) -{ - return 0; -} #endif /* CONFIG_PM_DEVFREQ */ #endif /* __LINUX_DEVFREQ_H__ */ -- 2.7.4