ARM: OMAP2+: clock/dpll: convert bypass check to use clk_features
authorTero Kristo <t-kristo@ti.com>
Wed, 2 Jul 2014 08:47:42 +0000 (11:47 +0300)
committerPaul Walmsley <paul@pwsan.com>
Tue, 15 Jul 2014 20:09:06 +0000 (14:09 -0600)
commit512d91cbd990c67df16d0a7b3ff5d35055ac6b39
treed9ebd1366f12859ab6184ffe8595c2649f186cff
parent5f84aeb6a194ed127d1beb61738577c15a60172b
ARM: OMAP2+: clock/dpll: convert bypass check to use clk_features

OMAP2 DPLL code for checking whether DPLL is in bypass mode now uses
clk_features data provided during boot. This avoids the need to use
cpu_is_X type checks runtime, and allows us to eventually move the
clock code under the clock driver.

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
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h