ARM: shmobile: r8a7779: Add helper to read mode pins
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 15 May 2014 11:32:01 +0000 (20:32 +0900)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:49 +0000 (09:24 +0900)
commitee66d15aab41fb794d21c0b5a5afffd6cbc14d08
tree30889e20a66e715d14698593326fd42d4128aa7a
parent35472a7a7e0dca696372cac310ec49c070d07b64
ARM: shmobile: r8a7779: Add helper to read mode pins

Add and use helper to read mode pins.
This will be re-used when moving marzen-reference to
the common clock framework.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 3e05f24aa95bb043f1103b41392b61ce83d2675e)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/clock-r8a7779.c
arch/arm/mach-shmobile/include/mach/r8a7779.h
arch/arm/mach-shmobile/setup-r8a7779.c