clk: divider: Make generic for usage elsewhere
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 20 Jan 2015 02:05:29 +0000 (18:05 -0800)
committerMichael Turquette <mturquette@linaro.org>
Tue, 27 Jan 2015 19:48:52 +0000 (11:48 -0800)
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>

No differences found