diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2014-04-24 16:54:50 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-09 05:08:11 -0400 |
commit | dd640039e8de4135fd59d4d963487d1239d6fabe (patch) | |
tree | eef57b5f604cb4b469d784fecad9629faf4dd07a /drivers/gpio | |
parent | a49f2e748de7b163c9e5099edf5f6f9f6fc70dbb (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.c | 7 |
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 | 739 | module_platform_driver(mvebu_gpio_driver); | |
740 | static int __init mvebu_gpio_init(void) | ||
741 | { | ||
742 | return platform_driver_register(&mvebu_gpio_driver); | ||
743 | } | ||
744 | postcore_initcall(mvebu_gpio_init); | ||