]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8cdbb5e5b5a0db9b3e604f3db2d2132bc0e2007
tree66b4939aa07d1c15f25ca6ded05e4cc27fe81e4c
parentc34e82aa00a965c273c956c1709a29581fa93265
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