Revert "PM: devfreq: Add the prototype of update_devfreq() to export"
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 15 Mar 2016 11:56:37 +0000 (12:56 +0100)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 7 Jul 2016 05:32:01 +0000 (14:32 +0900)
This temporarily reverts commit d70aa318b6a80780e3134d8a07303fa72b95576b,
which will be re-applied after applying soem mainline commits.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
include/linux/devfreq.h

index 07da551..ce447f0 100644 (file)
@@ -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__ */