diff options
Diffstat (limited to 'drivers/leds/leds-ams-delta.c')
-rw-r--r-- | drivers/leds/leds-ams-delta.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/leds/leds-ams-delta.c b/drivers/leds/leds-ams-delta.c index 8c00937bf7e7..07428357c83f 100644 --- a/drivers/leds/leds-ams-delta.c +++ b/drivers/leds/leds-ams-delta.c | |||
@@ -118,18 +118,7 @@ static struct platform_driver ams_delta_led_driver = { | |||
118 | }, | 118 | }, |
119 | }; | 119 | }; |
120 | 120 | ||
121 | static int __init ams_delta_led_init(void) | 121 | module_platform_driver(ams_delta_led_driver); |
122 | { | ||
123 | return platform_driver_register(&ams_delta_led_driver); | ||
124 | } | ||
125 | |||
126 | static void __exit ams_delta_led_exit(void) | ||
127 | { | ||
128 | platform_driver_unregister(&ams_delta_led_driver); | ||
129 | } | ||
130 | |||
131 | module_init(ams_delta_led_init); | ||
132 | module_exit(ams_delta_led_exit); | ||
133 | 122 | ||
134 | MODULE_AUTHOR("Jonathan McDowell <noodles@earth.li>"); | 123 | MODULE_AUTHOR("Jonathan McDowell <noodles@earth.li>"); |
135 | MODULE_DESCRIPTION("Amstrad Delta LED driver"); | 124 | MODULE_DESCRIPTION("Amstrad Delta LED driver"); |