summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/clockdomain.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/clockdomain.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/clockdomain.c')
-rw-r--r--drivers/clk/ti/clockdomain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/clockdomain.c b/drivers/clk/ti/clockdomain.c
index 07a805125e98..423a99b9f10c 100644
--- a/drivers/clk/ti/clockdomain.c
+++ b/drivers/clk/ti/clockdomain.c
@@ -143,7 +143,7 @@ static void __init of_ti_clockdomain_setup(struct device_node *node)
continue;
}
clk_hw = __clk_get_hw(clk);
- if (clk_hw_get_flags(clk_hw) & CLK_IS_BASIC) {
+ if (!omap2_clk_is_hw_omap(clk_hw)) {
pr_warn("can't setup clkdm for basic clk %s\n",
__clk_get_name(clk));
continue;