summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/autoidle.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2022-02-04 10:14:49 +0300
committerStephen Boyd <sboyd@kernel.org>2022-03-11 05:55:59 +0300
commited06099c5d0b329082cc19c58eace0b20bf7fe70 (patch)
treecdc90f4803d522ffb1f2220a5d2254824c2727e5 /drivers/clk/ti/autoidle.c
parent9e56a7d4263ca1c51d867e811cf2dd7e61b6469e (diff)
downloadlinux-ed06099c5d0b329082cc19c58eace0b20bf7fe70.tar.xz
clk: ti: Update component clocks to use ti_dt_clk_name()
Let's update all the TI component clocks to use ti_dt_clk_name() instead of devicetree node name if available. Signed-off-by: Tony Lindgren <tony@atomide.com> Link: https://lore.kernel.org/r/20220204071449.16762-9-tony@atomide.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/ti/autoidle.c')
-rw-r--r--drivers/clk/ti/autoidle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/autoidle.c b/drivers/clk/ti/autoidle.c
index f6f8a409f148..d6e5f1511ace 100644
--- a/drivers/clk/ti/autoidle.c
+++ b/drivers/clk/ti/autoidle.c
@@ -205,7 +205,7 @@ int __init of_ti_clk_autoidle_setup(struct device_node *node)
return -ENOMEM;
clk->shift = shift;
- clk->name = node->name;
+ clk->name = ti_dt_clk_name(node);
ret = ti_clk_get_reg_addr(node, 0, &clk->reg);
if (ret) {
kfree(clk);