]> git.karo-electronics.de Git - karo-tx-linux.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>
Sat, 25 May 2013 02:24:59 +0000 (11:24 +0900)
commitcbbd27bb4134cc7ab1f809d56fa76c3b53c22ef6
treefa5c8a600242fa729956930b865fa33d21aa5f00
parent9cad623928c69f38c743d33a3a53faecec733c26
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