]> 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)
commitfd85f3cb24c71e314ed0d7aab8b7939761af960d
tree9a73f5d0b000e126b8b6d86cbe6e267a196f55f0
parenta747405da1666823c1e41332c140db836f6920ec
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