pinctrl: sh-pfc: Add PORT_GP_CFG_{6|22}() helper macros
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 10 Nov 2017 17:59:00 +0000 (20:59 +0300)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 28 Nov 2017 09:43:12 +0000 (10:43 +0100)
commit5a0e698876479b71de885fdc181c00ecee5a61a9
tree19a723db246be00aabf7a08e0b1cffa9b16825a4
parent0e1c7a94c6def25fa2458ad4577b0b9b40443c3b
pinctrl: sh-pfc: Add PORT_GP_CFG_{6|22}() helper macros

They follow the style of the existing PORT_GP_CFG_<n>() macros and
will be used by a follow-up  patch for the R8A77970 SoC.

Based on the original (and large) patch by Daisuke Matsushita
<daisuke.matsushita.ns@hitachi.com>.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/sh_pfc.h