summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/divider.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2019-01-15 12:15:14 +0300
committerTero Kristo <t-kristo@ti.com>2019-02-15 17:46:22 +0300
commit8aa09cf322c196df95b52ed63c4cae605296f343 (patch)
treef47ca101f20a4528b7e0249570cb03821fb73b76 /drivers/clk/ti/divider.c
parent7fd79ee78a0318bd23f92c3cf3f4aba03a5dd6ad (diff)
downloadlinux-8aa09cf322c196df95b52ed63c4cae605296f343.tar.xz
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/divider.c')
-rw-r--r--drivers/clk/ti/divider.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/divider.c b/drivers/clk/ti/divider.c
index 8d77090ad94a..cb5a81963ba9 100644
--- a/drivers/clk/ti/divider.c
+++ b/drivers/clk/ti/divider.c
@@ -336,7 +336,7 @@ static struct clk *_register_divider(struct device *dev, const char *name,
init.name = name;
init.ops = &ti_clk_divider_ops;
- init.flags = flags | CLK_IS_BASIC;
+ init.flags = flags;
init.parent_names = (parent_name ? &parent_name : NULL);
init.num_parents = (parent_name ? 1 : 0);