summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/interface.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2016-09-29 12:06:40 +0300
committerTero Kristo <t-kristo@ti.com>2017-03-08 12:58:18 +0200
commit1ae79c46cf195ea39407bd5a2b234304d537980f (patch)
treec54b41385bc0fcd1faf55a98851ac765bf65cf9e /drivers/clk/ti/interface.c
parentc17435c56bb1feb7365ebffcfbe98baae50a0fb4 (diff)
downloadtalos-obmc-linux-1ae79c46cf195ea39407bd5a2b234304d537980f.tar.gz
talos-obmc-linux-1ae79c46cf195ea39407bd5a2b234304d537980f.zip
clk: ti: use automatic clock alias generation framework
Generate clock aliases automatically for all TI clock drivers. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/clk/ti/interface.c')
-rw-r--r--drivers/clk/ti/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/interface.c b/drivers/clk/ti/interface.c
index e505e6f8228d..7927e1a2ba02 100644
--- a/drivers/clk/ti/interface.c
+++ b/drivers/clk/ti/interface.c
@@ -58,7 +58,7 @@ static struct clk *_register_interface(struct device *dev, const char *name,
init.num_parents = 1;
init.parent_names = &parent_name;
- clk = clk_register(NULL, &clk_hw->hw);
+ clk = ti_clk_register(NULL, &clk_hw->hw, name);
if (IS_ERR(clk))
kfree(clk_hw);
OpenPOWER on IntegriCloud