]> git.baikalelectronics.ru Git - kernel.git/commit
sh-pfc: r8a7778: add common PFC macro helper
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 19 Apr 2013 03:07:34 +0000 (20:07 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Jun 2013 12:04:04 +0000 (21:04 +0900)
commitdedc5db7a8493c50db02d12dbe7c0a753368ec83
treec920546906f1084dbbfc5de42b25e1f001c4c711
parent1ac5f062d449d0b35cc39cf1ac5b244ffa31a671
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