]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sh-pfc: r8a7795: Make PORT_GP_x() macros consistent
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 28 Oct 2015 09:17:55 +0000 (10:17 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 30 Nov 2015 12:41:33 +0000 (13:41 +0100)
commitaeaadd264182a5c70a61e63a9642a56e9b73fa4b
tree7beae9a70b6bab32fabf5b09754584e732c4e90e
parentc5d649ac0be0051dcca6ef9b8533d801e4799e24
pinctrl: sh-pfc: r8a7795: Make PORT_GP_x() macros consistent

On r8a7795, PORT_GP_x() is a macro for defining GPIOs 0..x.
In all other sh-pfc code, PORT_GP_x() is a macro for defining GPIOs
0..(x-1).

Make the r8a7795 macro definitions consistent with the rest of the
sh-pfc codebase.

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/pfc-r8a7795.c