aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-max8997.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-max8997.c')
-rw-r--r--drivers/leds/leds-max8997.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/leds/leds-max8997.c b/drivers/leds/leds-max8997.c
index f4c0e37fad1e..86abfe24ad28 100644
--- a/drivers/leds/leds-max8997.c
+++ b/drivers/leds/leds-max8997.c
@@ -354,17 +354,7 @@ static struct platform_driver max8997_led_driver = {
354 .remove = __devexit_p(max8997_led_remove), 354 .remove = __devexit_p(max8997_led_remove),
355}; 355};
356 356
357static int __init max8997_led_init(void) 357module_platform_driver(max8997_led_driver);
358{
359 return platform_driver_register(&max8997_led_driver);
360}
361module_init(max8997_led_init);
362
363static void __exit max8997_led_exit(void)
364{
365 platform_driver_unregister(&max8997_led_driver);
366}
367module_exit(max8997_led_exit);
368 358
369MODULE_AUTHOR("Donggeun Kim <dg77.kim@samsung.com>"); 359MODULE_AUTHOR("Donggeun Kim <dg77.kim@samsung.com>");
370MODULE_DESCRIPTION("MAX8997 LED driver"); 360MODULE_DESCRIPTION("MAX8997 LED driver");