aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pwm/pwm-pxa.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c
index dc9717551d39..a4d2164aaf55 100644
--- a/drivers/pwm/pwm-pxa.c
+++ b/drivers/pwm/pwm-pxa.c
@@ -182,16 +182,6 @@ static struct platform_driver pwm_driver = {
182 .id_table = pwm_id_table, 182 .id_table = pwm_id_table,
183}; 183};
184 184
185static int __init pwm_init(void) 185module_platform_driver(pwm_driver);
186{
187 return platform_driver_register(&pwm_driver);
188}
189arch_initcall(pwm_init);
190
191static void __exit pwm_exit(void)
192{
193 platform_driver_unregister(&pwm_driver);
194}
195module_exit(pwm_exit);
196 186
197MODULE_LICENSE("GPL v2"); 187MODULE_LICENSE("GPL v2");