gpio: mvebu: Remove initcall-based driver initialization

There's no reason to use an initcall to initialize this driver,
and regular module_platform_driver() can be used instead.

Signed-off-by: Ezequiel Garcia <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Acked-by: Jason Cooper <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
Ezequiel Garcia 2014-04-24 17:54:50 -03:00 • committed by Linus Walleij
commit dd640039e8

View file

@ -736,9 +736,4 @@ static struct platform_driver mvebu_gpio_driver = {
},
.probe = mvebu_gpio_probe,
};
static int __init mvebu_gpio_init(void)
{
return platform_driver_register(&mvebu_gpio_driver);
}
postcore_initcall(mvebu_gpio_init);
module_platform_driver(mvebu_gpio_driver);