Exynos5: Use clock_get_periph_rate generic API
authorAkshay Saraswat <akshay.s@samsung.com>
Wed, 4 Feb 2015 10:30:03 +0000 (16:00 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 13 Feb 2015 08:23:06 +0000 (17:23 +0900)
commitd95279685bb9690a6973226a3bd8a3bae65c2ad7
treed33afafff99f13df8cdbe9aac728e9f91857609f
parent9deff107468ac6d80db962470796e05c667c1077
Exynos5: Use clock_get_periph_rate generic API

Replacing SoC and peripheral specific function calls with generic
clock_get_periph_rate calls to get the peripheral clocks.
Also, removing dead code of peripheral and SoC specific function
implementations which was used earlier for fetching peripheral clocks.
This code is not being used anymore because of the introduction
of generic clock_get_periph_rate function.

Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock.c