]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commitbca9690b942654f668ffb5124b2bbd0ba0f007bb
treeb0e4a32c3175916fbe680dbad1687ac9c7185221
parent15a02c1f6dd7c2bb150c61d00ffb33f584ff2288
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>
drivers/clk/clk-divider.c
include/linux/clk-provider.h