summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-palmas.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-01-05 04:43:41 +0100
committerStephen Boyd <sboyd@codeaurora.org>2016-01-30 01:45:32 +0100
commit653d1452b452207999b67ab943c27cd80b7bd430 (patch)
tree1efc23d06e71a13f461596fc4c2aa02073caa894 /drivers/clk/clk-palmas.c
parentclk: vt8500: fix sign of possible PLL values (diff)
downloadlinux-653d1452b452207999b67ab943c27cd80b7bd430.tar.xz
linux-653d1452b452207999b67ab943c27cd80b7bd430.zip
clk: optimize the divider walk in clk_divider_bestdiv()
Because _next_div() returns a valid divider, there is no need to consult _is_valid_div() for the validity of the divider in every iteration. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-palmas.c')
0 files changed, 0 insertions, 0 deletions