clk: samsung: Modify _get_rate() helper to use __clk_lookup()
authorTomasz Figa <t.figa@samsung.com>
Mon, 26 Aug 2013 17:09:00 +0000 (19:09 +0200)
committerMike Turquette <mturquette@linaro.org>
Fri, 6 Sep 2013 20:33:15 +0000 (13:33 -0700)
commit3a64789568f5f8afdc09fb33764f2ecbb72fb817
tree224b480f84ab14a17848c382e020834dc0532cb2
parente6c3e730a75faee17ebbf3220c00e3039ab49f53
clk: samsung: Modify _get_rate() helper to use __clk_lookup()

There is no need to use clkdev inside the clock driver to retrieve the
clocks for internal use. Instead __clk_lookup() helper can be used to
look up clocks by their platform name.

This patch modifies the behavior of _get_rate() helper to look up clocks
by platform name and adjusts all users of it to pass platform names
instead of clkdev aliases.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/samsung/clk-exynos4.c
drivers/clk/samsung/clk-exynos5440.c
drivers/clk/samsung/clk.c