]> git.baikalelectronics.ru Git - kernel.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)
commitc55617020a95969eb3214baa228f13535e94b06b
tree9a73f5d0b000e126b8b6d86cbe6e267a196f55f0
parentb36095506e3c0be3e18d3114f8a1e6f68ffce538
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