pinctrl: sh-pfc: Get rid of CONFIG_ARCH_SHMOBILE_LEGACY
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 27 Aug 2015 20:07:23 +0000 (22:07 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 2 Oct 2015 07:54:34 +0000 (09:54 +0200)
commit90d066130f69533fb16b395be3de613903575e69
treeca014577c8ded2c7ffc568f1df7c9b479b69b5f2
parent9e214614532a6bd7e90bdcdc778b041647cc4036
pinctrl: sh-pfc: Get rid of CONFIG_ARCH_SHMOBILE_LEGACY

Shmobile is all multiplatform these days, so get rid of the reference to
CONFIG_ARCH_SHMOBILE_LEGACY.

Move the legacy code to do the non-DT mapping between GPIOs and pins
inside the existing #ifdef CONFIG_SUPERH section.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/gpio.c