sh-pfc: r8a7778: add common PFC macro helper
commita10cd30ed6c786fc4756cb1393fea63331e3e315
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 19 Apr 2013 03:07:34 +0000 (18 20:07 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Jun 2013 12:04:04 +0000 (4 21:04 +0900)
treec920546906f1084dbbfc5de42b25e1f001c4c711
parent54ee73c6f52c506fce83328ab902f375b9af472f
sh-pfc: r8a7778: add common PFC macro helper

pfc-r8a7778 will have many devices pfc support in the future,
and current pfc-r8a7778 is using pin/mux definition macro for SCIF.
The device definition style using macro is readable code IMO,
but creating new macro for each devices is not good sense.
This patch adds common SH_PFC_xx() macro for each new feature devices

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-r8a7778.c