]> git.karo-electronics.de Git - linux-beck.git/commit
clk: composite: improve rate_hw sanity check logic
authorMike Turquette <mturquette@linaro.org>
Wed, 2 Jul 2014 23:58:14 +0000 (01:58 +0200)
committerMike Turquette <mturquette@linaro.org>
Sun, 13 Jul 2014 19:17:05 +0000 (12:17 -0700)
commit5a994e151f7c54a5fdeb07fe2fed4ed64b9321b8
tree59575205b146557cf837264c80dfbdb9a7978fc7
parent0c02cf2f1c2ffd75221b43bacb4f02a0e52e014b
clk: composite: improve rate_hw sanity check logic

The function pointer population and sanity checking logic got a bit ugly
with the advent of the .determine_rate callback. Clean it up.

Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-composite.c