From: Kamlakant Patel <kamlakant.patel@xxxxxxxxxx> Convert *_initcall based probing of GPIO drivers to regular module_init based probe. Signed-off-by: Kamlakant Patel <kamlakant.patel@xxxxxxxxxx> --- drivers/gpio/gpio-msm-v1.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-msm-v1.c b/drivers/gpio/gpio-msm-v1.c index 73b7396..bec524e 100644 --- a/drivers/gpio/gpio-msm-v1.c +++ b/drivers/gpio/gpio-msm-v1.c @@ -706,10 +706,6 @@ static struct platform_driver gpio_msm_v1_driver = { .probe = gpio_msm_v1_probe, .id_table = gpio_msm_v1_device_ids, }; +module_platform_driver(gpio_msm_v1_driver); -static int __init gpio_msm_v1_init(void) -{ - return platform_driver_register(&gpio_msm_v1_driver); -} -postcore_initcall(gpio_msm_v1_init); MODULE_LICENSE("GPL v2"); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html