]> Git Repo - linux.git/commit
clk: fractional-divider: Export approximation algorithm to the CCF users
authorAndy Shevchenko <[email protected]>
Thu, 12 Aug 2021 17:00:22 +0000 (20:00 +0300)
committerStephen Boyd <[email protected]>
Thu, 12 Aug 2021 19:41:47 +0000 (12:41 -0700)
commit4e7cf74fa3b28fcb43531ca6bc350bf8636e3de6
treef165057d930f49553cf58e923505a861701a5185
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
clk: fractional-divider: Export approximation algorithm to the CCF users

At least one user currently duplicates some functions that are provided
by fractional divider module. Let's export approximation algorithm and
replace the open-coded variant.

As a bonus the exported function will get better documentation in place.

Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Acked-by: Heiko Stuebner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: Add header guard because why not]
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/clk-fractional-divider.c
drivers/clk/clk-fractional-divider.h [new file with mode: 0644]
drivers/clk/rockchip/clk.c
This page took 0.052896 seconds and 4 git commands to generate.