Message ID | 1410258591-28248-22-git-send-email-kamlakant.patel@linaro.org |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/gpio/gpio-mm-lantiq.c b/drivers/gpio/gpio-mm-lantiq.c index 2983dfb..142f638 100644 --- a/drivers/gpio/gpio-mm-lantiq.c +++ b/drivers/gpio/gpio-mm-lantiq.c @@ -149,10 +149,4 @@ static struct platform_driver ltq_mm_driver = { .of_match_table = ltq_mm_match, }, }; - -static int __init ltq_mm_init(void) -{ - return platform_driver_register(<q_mm_driver); -} - -subsys_initcall(ltq_mm_init); +module_platform_driver(ltq_mm_driver);