linux-stable/drivers/pinctrl/sh-pfc
Laurent Pinchart 0b73ee5d53 sh-pfc: Simplify the sh_pfc_gpio_is_pin() logic
The function is guaranteed to be called with a gpio number smaller than
nr_pins. The condition can the be simplified, and the function inlined.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2013-03-15 13:33:39 +01:00
..
core.c sh-pfc: Simplify the sh_pfc_gpio_is_pin() logic 2013-03-15 13:33:39 +01:00
core.h sh-pfc: Simplify the sh_pfc_gpio_is_pin() logic 2013-03-15 13:33:39 +01:00
gpio.c sh-pfc: Simplify the sh_pfc_gpio_is_pin() logic 2013-03-15 13:33:39 +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: Look up IRQ table entries by GPIO number 2013-03-15 13:33:38 +01:00
pfc-r8a7779.c sh-pfc: Share the PORT_10_REV, PORT_32 and PORT_32_REV definitions 2013-03-15 13:33:38 +01:00
pfc-sh73a0.c sh-pfc: Look up IRQ table entries by GPIO number 2013-03-15 13:33:38 +01:00
pfc-sh7203.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7264.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7269.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7372.c sh-pfc: Look up IRQ table entries by GPIO number 2013-03-15 13:33:38 +01:00
pfc-sh7720.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7722.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7723.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7724.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7734.c sh-pfc: Share the PORT_10_REV, PORT_32 and PORT_32_REV definitions 2013-03-15 13:33:38 +01:00
pfc-sh7757.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7785.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-sh7786.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pfc-shx3.c sh-pfc: Rename struct pinmux_pin to struct sh_pfc_pin 2013-03-15 13:33:38 +01:00
pinctrl.c sh-pfc: Use pinmux identifiers in the pin muxing API 2013-03-15 13:33:39 +01:00
sh_pfc.h sh-pfc: Share the PORT_10_REV, PORT_32 and PORT_32_REV definitions 2013-03-15 13:33:38 +01:00