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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:56 +0000 (11:15 +0100)
commitb654f5f9213c46e16a387e48cf7f6f35ef675203
tree9a54b6b53027e2c075f1f1efc921ef1b87ade02d
parente20c5c5d97ce0a9f843585107a7c137488afe93e
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