clk: divider: Make generic for usage elsewhere
Some devices don't use mmio to interact with dividers. Split out the logic from the register read/write parts so that we can reuse the division logic elsewhere. Signed-off-by:Stephen Boyd <sboyd@codeaurora.org> Tested-by:
Kenneth Westfield <kwestfie@codeaurora.org> Signed-off-by:
Michael Turquette <mturquette@linaro.org>
parent
15a02c1f
Please register or sign in to comment