pinctrl: ingenic: Mark probe function as __init
authorPaul Cercueil <paul@crapouillou.net>
Tue, 21 Aug 2018 16:42:31 +0000 (18:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Aug 2018 11:36:23 +0000 (13:36 +0200)
commit4717b11f80cf81b069f76e6225dc1caf194e1a58
tree50f8d9f80c8ac53e883a419af83e3457b92181f7
parent556a36a71ed80e17ade49225b58513ea3c9e4558
pinctrl: ingenic: Mark probe function as __init

By using platform_driver_probe() instead of platform_driver_register(),
we can mark the ingenic_pinctrl_probe() function as __init.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ingenic.c