diff options
author | Tero Kristo <t-kristo@ti.com> | 2019-01-15 10:15:14 +0100 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2019-02-15 15:46:22 +0100 |
commit | 8aa09cf322c196df95b52ed63c4cae605296f343 (patch) | |
tree | f47ca101f20a4528b7e0249570cb03821fb73b76 /drivers/clk/ti/clockdomain.c | |
parent | clk: ti: add new API for checking if a provided clock is an OMAP clock (diff) | |
download | linux-8aa09cf322c196df95b52ed63c4cae605296f343.tar.xz 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/clockdomain.c')
-rw-r--r-- | drivers/clk/ti/clockdomain.c | 2 |
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; |