Message ID | 1410258591-28248-23-git-send-email-kamlakant.patel@linaro.org |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/gpio/gpio-msic.c b/drivers/gpio/gpio-msic.c index 8f70ded..6d0f5ec 100644 --- a/drivers/gpio/gpio-msic.c +++ b/drivers/gpio/gpio-msic.c @@ -325,13 +325,7 @@ static struct platform_driver platform_msic_gpio_driver = { }, .probe = platform_msic_gpio_probe, }; - -static int __init platform_msic_gpio_init(void) -{ - return platform_driver_register(&platform_msic_gpio_driver); -} - -subsys_initcall(platform_msic_gpio_init); +module_platform_driver(platform_msic_gpio_driver); MODULE_AUTHOR("Mathias Nyman <mathias.nyman@linux.intel.com>"); MODULE_DESCRIPTION("Intel Medfield MSIC GPIO driver");