serial: s5p: use clock api to get clock rate
authorThomas Abraham <thomas.ab@samsung.com>
Sat, 23 Apr 2016 16:48:11 +0000 (22:18 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 25 May 2016 01:00:19 +0000 (10:00 +0900)
commitcf75cdf96ef288410222737eca98cf28cdbafbe2
tree0343c9911c499e14d5afeb3028764b74e3a7ddbe
parent5ab6c4df27c9188251ff43a536c90ede57ba48fe
serial: s5p: use clock api to get clock rate

On Exynos platforms that support clock driver API, allow the driver to
use clock api get the SCLK clock rate.

Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/serial/serial_s5p.c