ARM: OMAP2+: clock/dpll: add private API for checking if DPLL is in bypass
authorTero Kristo <t-kristo@ti.com>
Wed, 2 Jul 2014 08:47:41 +0000 (11:47 +0300)
committerPaul Walmsley <paul@pwsan.com>
Tue, 15 Jul 2014 20:09:03 +0000 (14:09 -0600)
commit5f84aeb6a194ed127d1beb61738577c15a60172b
treeaef556fff13ee2b64c8f33727b2bf3f0c4a29763
parenta24886e263ec4b7062c88cfa84577080ea00da94
ARM: OMAP2+: clock/dpll: add private API for checking if DPLL is in bypass

Currently, same functionality is copy pasted in two locations. Instead,
add a private API for this and get rid of some duplicated code.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clkt_dpll.c