aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/pcf50633-backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/backlight/pcf50633-backlight.c')
-rw-r--r--drivers/video/backlight/pcf50633-backlight.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/video/backlight/pcf50633-backlight.c b/drivers/video/backlight/pcf50633-backlight.c
index ef5628d60563..13e88b71daec 100644
--- a/drivers/video/backlight/pcf50633-backlight.c
+++ b/drivers/video/backlight/pcf50633-backlight.c
@@ -173,17 +173,7 @@ static struct platform_driver pcf50633_bl_driver = {
173 }, 173 },
174}; 174};
175 175
176static int __init pcf50633_bl_init(void) 176module_platform_driver(pcf50633_bl_driver);
177{
178 return platform_driver_register(&pcf50633_bl_driver);
179}
180module_init(pcf50633_bl_init);
181
182static void __exit pcf50633_bl_exit(void)
183{
184 platform_driver_unregister(&pcf50633_bl_driver);
185}
186module_exit(pcf50633_bl_exit);
187 177
188MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); 178MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>");
189MODULE_DESCRIPTION("PCF50633 backlight driver"); 179MODULE_DESCRIPTION("PCF50633 backlight driver");