aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/ti/clkctrl.c
diff options
context:
space:
mode:
authorGravatar Tero Kristo <t-kristo@ti.com> 2019-01-15 11:15:14 +0200
committerGravatar Tero Kristo <t-kristo@ti.com> 2019-02-15 16:46:22 +0200
commit8aa09cf322c196df95b52ed63c4cae605296f343 (patch)
treef47ca101f20a4528b7e0249570cb03821fb73b76 /drivers/clk/ti/clkctrl.c
parentclk: ti: add new API for checking if a provided clock is an OMAP clock (diff)
downloadlinux-8aa09cf322c196df95b52ed63c4cae605296f343.tar.gz
linux-8aa09cf322c196df95b52ed63c4cae605296f343.tar.bz2
linux-8aa09cf322c196df95b52ed63c4cae605296f343.zip
clk: ti: remove usage of CLK_IS_BASIC
Remove the usage of CLK_IS_BASIC flag completely from TI clock driver. In most cases, the use is completely redundant, but in some cases we need to use the new API to check if the clock is an OMAP clock or not. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Tested-by: Keerthy <j-keerthy@ti.com>
Diffstat (limited to 'drivers/clk/ti/clkctrl.c')
-rw-r--r--drivers/clk/ti/clkctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/clkctrl.c b/drivers/clk/ti/clkctrl.c
index 40630eb950fc..bf32d996177f 100644
--- a/drivers/clk/ti/clkctrl.c
+++ b/drivers/clk/ti/clkctrl.c
@@ -276,7 +276,7 @@ _ti_clkctrl_clk_register(struct omap_clkctrl_provider *provider,
init.parent_names = parents;
init.num_parents = num_parents;
init.ops = ops;
- init.flags = CLK_IS_BASIC;
+ init.flags = 0;
clk = ti_clk_register(NULL, clk_hw, init.name);
if (IS_ERR_OR_NULL(clk)) {