pinctrl: ingenic: Merge GPIO functionality
authorPaul Cercueil <paul@crapouillou.net>
Tue, 21 Aug 2018 16:42:32 +0000 (18:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Aug 2018 11:36:48 +0000 (13:36 +0200)
commite72394e2ea196a0cba70c7aeb861ff9c1fa2b1b6
tree7ffd2c3a524d15bcd1a971913f335af126612eda
parent4717b11f80cf81b069f76e6225dc1caf194e1a58
pinctrl: ingenic: Merge GPIO functionality

Merge the code of the gpio-ingenic driver into the pinctrl-ingenic
driver.

The reason behind this, is that the same hardware block handles both pin
config / muxing and GPIO.

ingenic_gpio_probe() have been marked as __init, but for the most part,
the code is the exact same as what it was in the gpio-ingenic driver.

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