clk: samsung: exynos5250: Simplify registration of PLL rate tables
authorTomasz Figa <t.figa@samsung.com>
Mon, 26 Aug 2013 17:09:11 +0000 (19:09 +0200)
committerMike Turquette <mturquette@linaro.org>
Fri, 6 Sep 2013 20:34:05 +0000 (13:34 -0700)
commit22e9e7589e7bc6006af983f73e4a4057dbd9da66
tree66b4939aa07d1c15f25ca6ded05e4cc27fe81e4c
parentefb19a85cb0b44c06ed5ff7c397341ab852148e5
clk: samsung: exynos5250: Simplify registration of PLL rate tables

Since the _get_rate() helper has been modified to use __clk_lookup()
internally, checking of PLL input rates can be done using it and so the
registration code can be simplified.

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-exynos5250.c