aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-04-24 16:54:50 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-05-09 05:08:11 -0400
commitdd640039e8de4135fd59d4d963487d1239d6fabe (patch)
treeeef57b5f604cb4b469d784fecad9629faf4dd07a /drivers/gpio
parenta49f2e748de7b163c9e5099edf5f6f9f6fc70dbb (diff)
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 <ezequiel.garcia@free-electrons.com> Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-mvebu.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c
index 8018d308226a..418e38650363 100644
--- a/drivers/gpio/gpio-mvebu.c
+++ b/drivers/gpio/gpio-mvebu.c
@@ -736,9 +736,4 @@ static struct platform_driver mvebu_gpio_driver = {
736 }, 736 },
737 .probe = mvebu_gpio_probe, 737 .probe = mvebu_gpio_probe,
738}; 738};
739 739module_platform_driver(mvebu_gpio_driver);
740static int __init mvebu_gpio_init(void)
741{
742 return platform_driver_register(&mvebu_gpio_driver);
743}
744postcore_initcall(mvebu_gpio_init);