clk: fractional-divider: Split out clk_fd_get_div() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 22 Nov 2022 13:07:30 +0000 (15:07 +0200)
committerStephen Boyd <sboyd@kernel.org>
Wed, 23 Nov 2022 02:19:38 +0000 (18:19 -0800)
commit7fffdb777371cbc20929cc648509765e1923937d
treed8cf15ff78b362b3d0a0c6d0986e02832e4fcfe3
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
clk: fractional-divider: Split out clk_fd_get_div() helper

Split out clk_fd_get_div() helper for the future use elsewhere.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221122130732.48537-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-fractional-divider.c