From: Sylwester Nawrocki Date: Tue, 15 Mar 2016 11:56:37 +0000 (+0100) Subject: Revert "PM: devfreq: Add the prototype of update_devfreq() to export" X-Git-Tag: accepted/tizen/common/20160810.161706~111 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=117bd6ec2bd4dee18c5f83e6b742d174c2007be8;p=platform%2Fkernel%2Flinux-exynos.git 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 --- 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__ */