pinctrl: sh-pfc: Confine legacy function GPIOs to SH
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 4 Aug 2015 13:55:19 +0000 (15:55 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 2 Oct 2015 07:54:33 +0000 (09:54 +0200)
commit56f891b46d37e8c7b04db660d6e9ad05e586203c
treedc4cf2d8336688249a5560da0f39fc6cb842248f
parent57106e5ca55bea70e3e296a3e7546aefe0d1dabe
pinctrl: sh-pfc: Confine legacy function GPIOs to SH

Legacy function GPIOs are no longer used on ARM since commit
a27c5cd1a08cc95c ("sh-pfc: sh73a0: Remove function GPIOs").
Extract its setup code into a separate function, and make all function
GPIO related code and data depend on CONFIG_SUPERH.

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