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, 3 Apr 2013 01:30:35 +0000 (10:30 +0900)
commit542a564d2ddbd2c37536b4dff8e45fa0fc239bcc
treeeb01d3f1d9c43b5e9fe5b8d1f1da8d171c518def
parent48b1e3e80f742bff0f469245f2d05007af9af92e
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