]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb8856085c3184d0360b018af2a94a9d414a9214d
tree7beae9a70b6bab32fabf5b09754584e732c4e90e
parent61a483ff80e19846de5ab9c9ccadd11f3c11f982
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