diff options
Diffstat (limited to 'drivers/gpio/gpio-vx855.c')
-rw-r--r-- | drivers/gpio/gpio-vx855.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/gpio/gpio-vx855.c b/drivers/gpio/gpio-vx855.c index ef5aabd8b8b7..76ebfe5ff702 100644 --- a/drivers/gpio/gpio-vx855.c +++ b/drivers/gpio/gpio-vx855.c | |||
@@ -315,17 +315,7 @@ static struct platform_driver vx855gpio_driver = { | |||
315 | .remove = __devexit_p(vx855gpio_remove), | 315 | .remove = __devexit_p(vx855gpio_remove), |
316 | }; | 316 | }; |
317 | 317 | ||
318 | static int vx855gpio_init(void) | 318 | module_platform_driver(vx855gpio_driver); |
319 | { | ||
320 | return platform_driver_register(&vx855gpio_driver); | ||
321 | } | ||
322 | module_init(vx855gpio_init); | ||
323 | |||
324 | static void vx855gpio_exit(void) | ||
325 | { | ||
326 | platform_driver_unregister(&vx855gpio_driver); | ||
327 | } | ||
328 | module_exit(vx855gpio_exit); | ||
329 | 319 | ||
330 | MODULE_LICENSE("GPL"); | 320 | MODULE_LICENSE("GPL"); |
331 | MODULE_AUTHOR("Harald Welte <HaraldWelte@viatech.com>"); | 321 | MODULE_AUTHOR("Harald Welte <HaraldWelte@viatech.com>"); |