linux-stable/drivers/pinctrl/sh-pfc
Laurent Pinchart 380c2ed924 sh-pfc: Initialize pinmux_gpio flags statically
All function GPIO entries are initialized with the GPIO_FN macro that
expands to the PINMUX_GPIO macro, used to initialize real GPIOs. Create
a PINMUX_GPIO_FN macro that duplicates PINMUX_GPIO and sets flags to
PINMUX_TYPE_FUNCTION and use it in GPIO_FN, and make PINMUX_GPIO set
flags to PINMUX_TYPE_GPIO.

This removes the need to initialize GPIO flags at runtime and thus
simplifies the code, preparing for the GPIO and functions split.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2013-03-15 13:33:37 +01:00
..
core.c sh-pfc: Replace SoC info data and mark ranges with a number of pins 2013-03-15 13:33:37 +01:00
core.h sh-pfc: Move sh_pfc.h from include/linux/ to driver directory 2013-01-25 09:24:31 +09:00
gpio.c sh-pfc: Replace first_gpio and last_gpio with nr_gpios 2013-03-15 13:33:36 +01:00
Kconfig sh-pfc: Add shx3 pinmux support 2013-01-25 09:24:28 +09:00
Makefile sh-pfc: Add shx3 pinmux support 2013-01-25 09:24:28 +09:00
pfc-r8a7740.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-r8a7779.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh73a0.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7203.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7264.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7269.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7372.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7720.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7722.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7723.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7724.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7734.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7757.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7785.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-sh7786.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pfc-shx3.c sh-pfc: Remove unused sh_pfc_soc_info reserved_id field 2013-03-15 13:33:37 +01:00
pinctrl.c sh-pfc: Initialize pinmux_gpio flags statically 2013-03-15 13:33:37 +01:00
sh_pfc.h sh-pfc: Initialize pinmux_gpio flags statically 2013-03-15 13:33:37 +01:00