mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
clk: tegra: 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> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Brian Masney <bmasney@redhat.com>
This commit is contained in:
parent
227d023952
commit
3ed463b69b
|
|
@ -1460,7 +1460,7 @@ static int tegra210_pllx_dyn_ramp(struct tegra_clk_pll *pllx,
|
|||
udelay(1);
|
||||
|
||||
pr_debug("%s: dynamic ramp to m = %u n = %u p = %u, Fout = %lu kHz\n",
|
||||
__clk_get_name(pllx->hw.clk), cfg->m, cfg->n, cfg->p,
|
||||
clk_hw_get_name(&pllx->hw), cfg->m, cfg->n, cfg->p,
|
||||
cfg->input_rate / cfg->m * cfg->n /
|
||||
pllx->params->pdiv_tohw[cfg->p].pdiv / 1000);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user