]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: ti: divider: cleanup _register_divider and ti_clk_get_div_table
authorTero Kristo <t-kristo@ti.com>
Wed, 2 Oct 2019 12:06:08 +0000 (15:06 +0300)
committerTero Kristo <t-kristo@ti.com>
Thu, 31 Oct 2019 13:32:32 +0000 (15:32 +0200)
commitfbbc18591585bf74031dd6474b2937f87063e959
tree9a73f5d0b000e126b8b6d86cbe6e267a196f55f0
parentece3e465b80a05c994783c7161e3d49035064f71
clk: ti: divider: cleanup _register_divider and ti_clk_get_div_table

Cleanup couple of TI divider clock internal APIs. These currently pass
huge amount of parameters, which makes it difficult to track what is
going on. Abstract most of these under struct clk_omap_div which gets
passed over the APIs.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Tested-by: Adam Ford <aford173@gmail.com>
drivers/clk/ti/divider.c