mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
clk: ti: clean-up simple provider misuse of the consumer API
Clock provider should not be using the consumer interface. In other words, a provider should not be dealing with struct clk. This change targets occurrences for which the provider uses the consumer interface and corresponding clk_hw interface exist. Reviewed-by: Brian Masney <bmasney@redhat.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Link: https://patch.msgid.link/20260724-clk-provider-simple-clean-v2-7-56f306156d25@baylibre.com Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
This commit is contained in:
parent
6b838130d2
commit
4539402e0b
|
|
@ -104,7 +104,7 @@ int omap2_init_clk_clkdm(struct clk_hw *hw)
|
|||
if (!clk->clkdm_name)
|
||||
return 0;
|
||||
|
||||
clk_name = __clk_get_name(hw->clk);
|
||||
clk_name = clk_hw_get_name(hw);
|
||||
|
||||
clkdm = ti_clk_ll_ops->clkdm_lookup(clk->clkdm_name);
|
||||
if (clkdm) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user