]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh-pfc: Make function GPIOs support optional
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 7 Mar 2013 13:31:57 +0000 (14:31 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 27 Mar 2013 05:08:33 +0000 (14:08 +0900)
commita78f0984ccf1f857ca35ec661f9a7b12020ef1c7
tree86888e50b13e5a8394f6867dc05ed96ea596d171
parentdc32269b66f1c1b575474eefe1a107af79aa3180
sh-pfc: Make function GPIOs support optional

The target is to get rid of function GPIOs completely. To reach this,
make function GPIOs support optional by skipping the function GPIO chip
registration if no function GPIOS are defined in SoC data.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/gpio.c