diff options
Diffstat (limited to 'drivers/video/backlight/pcf50633-backlight.c')
-rw-r--r-- | drivers/video/backlight/pcf50633-backlight.c | 12 |
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 | ||
176 | static int __init pcf50633_bl_init(void) | 176 | module_platform_driver(pcf50633_bl_driver); |
177 | { | ||
178 | return platform_driver_register(&pcf50633_bl_driver); | ||
179 | } | ||
180 | module_init(pcf50633_bl_init); | ||
181 | |||
182 | static void __exit pcf50633_bl_exit(void) | ||
183 | { | ||
184 | platform_driver_unregister(&pcf50633_bl_driver); | ||
185 | } | ||
186 | module_exit(pcf50633_bl_exit); | ||
187 | 177 | ||
188 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); | 178 | MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); |
189 | MODULE_DESCRIPTION("PCF50633 backlight driver"); | 179 | MODULE_DESCRIPTION("PCF50633 backlight driver"); |