clk: ti: move clk_hw_omap list handling under generic part of the driver
authorTero Kristo <t-kristo@ti.com>
Tue, 15 Jan 2019 09:15:12 +0000 (11:15 +0200)
committerTero Kristo <t-kristo@ti.com>
Fri, 15 Feb 2019 14:46:21 +0000 (16:46 +0200)
commit77b773aea5a8abccbd25101390e1ba4b33b3fca0
tree89ddb69524266f16d42d51bc0dbd7765dc2cdc69
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
clk: ti: move clk_hw_omap list handling under generic part of the driver

Currently the clk_hw_omap list is handled under the autoidle code, but
it should be accessible generically. Add a few APIs towards this, and
update the autoidle code to use the generic implementations.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Keerthy <j-keerthy@ti.com>
drivers/clk/ti/autoidle.c
drivers/clk/ti/clk.c
drivers/clk/ti/clock.h