clk_has_parent — check if a clock is a possible parent for another
boolclk_has_parent(
)
struct clk * clk
clock source
struct clk * parent
parent clock source
This function can be used in drivers that need to check that a clock can be the parent of another without actually changing the parent.
Returns true ifparent is a possible parent forclk, false otherwise.
parent
clk