aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/devfreq')
-rw-r--r--drivers/devfreq/devfreq.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c
index e92418facc92..3cc558df8295 100644
--- a/drivers/devfreq/devfreq.c
+++ b/drivers/devfreq/devfreq.c
@@ -15,7 +15,7 @@
15#include <linux/errno.h> 15#include <linux/errno.h>
16#include <linux/err.h> 16#include <linux/err.h>
17#include <linux/init.h> 17#include <linux/init.h>
18#include <linux/module.h> 18#include <linux/export.h>
19#include <linux/slab.h> 19#include <linux/slab.h>
20#include <linux/stat.h> 20#include <linux/stat.h>
21#include <linux/pm_opp.h> 21#include <linux/pm_opp.h>
@@ -1199,13 +1199,6 @@ static int __init devfreq_init(void)
1199} 1199}
1200subsys_initcall(devfreq_init); 1200subsys_initcall(devfreq_init);
1201 1201
1202static void __exit devfreq_exit(void)
1203{
1204 class_destroy(devfreq_class);
1205 destroy_workqueue(devfreq_wq);
1206}
1207module_exit(devfreq_exit);
1208
1209/* 1202/*
1210 * The followings are helper functions for devfreq user device drivers with 1203 * The followings are helper functions for devfreq user device drivers with
1211 * OPP framework. 1204 * OPP framework.
@@ -1471,7 +1464,3 @@ void devm_devfreq_unregister_notifier(struct device *dev,
1471 devm_devfreq_dev_match, devfreq)); 1464 devm_devfreq_dev_match, devfreq));
1472} 1465}
1473EXPORT_SYMBOL(devm_devfreq_unregister_notifier); 1466EXPORT_SYMBOL(devm_devfreq_unregister_notifier);
1474
1475MODULE_AUTHOR("MyungJoo Ham <myungjoo.ham@samsung.com>");
1476MODULE_DESCRIPTION("devfreq class support");
1477MODULE_LICENSE("GPL");