diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/gpio-tb10x.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c index 833d0f40d40e..af4975c20d85 100644 --- a/drivers/gpio/gpio-tb10x.c +++ b/drivers/gpio/gpio-tb10x.c | |||
@@ -324,18 +324,7 @@ static struct platform_driver tb10x_gpio_driver = { | |||
324 | } | 324 | } |
325 | }; | 325 | }; |
326 | 326 | ||
327 | static int __init ab_gpio_init(void) | 327 | module_platform_driver(tb10x_gpio_driver); |
328 | { | ||
329 | return platform_driver_register(&tb10x_gpio_driver); | ||
330 | } | ||
331 | |||
332 | static void __exit ab_gpio_exit(void) | ||
333 | { | ||
334 | platform_driver_unregister(&tb10x_gpio_driver); | ||
335 | } | ||
336 | |||
337 | module_init(ab_gpio_init); | ||
338 | module_exit(ab_gpio_exit); | ||
339 | MODULE_LICENSE("GPL"); | 328 | MODULE_LICENSE("GPL"); |
340 | MODULE_DESCRIPTION("tb10x gpio."); | 329 | MODULE_DESCRIPTION("tb10x gpio."); |
341 | MODULE_VERSION("0.0.1"); | 330 | MODULE_VERSION("0.0.1"); |