diff options
Diffstat (limited to 'drivers/gpio/gpio-sch.c')
-rw-r--r-- | drivers/gpio/gpio-sch.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c index 163515845494..8cadf4d683a8 100644 --- a/drivers/gpio/gpio-sch.c +++ b/drivers/gpio/gpio-sch.c | |||
@@ -297,18 +297,7 @@ static struct platform_driver sch_gpio_driver = { | |||
297 | .remove = __devexit_p(sch_gpio_remove), | 297 | .remove = __devexit_p(sch_gpio_remove), |
298 | }; | 298 | }; |
299 | 299 | ||
300 | static int __init sch_gpio_init(void) | 300 | module_platform_driver(sch_gpio_driver); |
301 | { | ||
302 | return platform_driver_register(&sch_gpio_driver); | ||
303 | } | ||
304 | |||
305 | static void __exit sch_gpio_exit(void) | ||
306 | { | ||
307 | platform_driver_unregister(&sch_gpio_driver); | ||
308 | } | ||
309 | |||
310 | module_init(sch_gpio_init); | ||
311 | module_exit(sch_gpio_exit); | ||
312 | 301 | ||
313 | MODULE_AUTHOR("Denis Turischev <denis@compulab.co.il>"); | 302 | MODULE_AUTHOR("Denis Turischev <denis@compulab.co.il>"); |
314 | MODULE_DESCRIPTION("GPIO interface for Intel Poulsbo SCH"); | 303 | MODULE_DESCRIPTION("GPIO interface for Intel Poulsbo SCH"); |