clk: ti: add new API for checking if a provided clock is an OMAP clock
authorTero Kristo <t-kristo@ti.com>
Tue, 15 Jan 2019 09:15:13 +0000 (11:15 +0200)
committerTero Kristo <t-kristo@ti.com>
Fri, 15 Feb 2019 14:46:21 +0000 (16:46 +0200)
commit7fd79ee78a0318bd23f92c3cf3f4aba03a5dd6ad
treecdefcb84f52a3d9a98e823421b4348e2897bf43d
parent77b773aea5a8abccbd25101390e1ba4b33b3fca0
clk: ti: add new API for checking if a provided clock is an OMAP clock

omap2_clk_is_hw_omap can now be used to verify if the provided clk_hw
is an omap HW clock or not. This is done to replace the usage of CLK_IS_BASIC
flag within the TI clock drivers.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Keerthy <j-keerthy@ti.com>
drivers/clk/ti/clk.c
drivers/clk/ti/clock.h