ARM: msm: Remove custom clk_set_flags() API
Nobody is using this API upstream and it's just contributing cruft. Remove it so the MSM clock API is closer to the generic struct clock API. Acked-by: Saravana Kannan <skannan@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
committed by
David Brown
parent
8d21415348
commit
85a7df1f85
@@ -121,14 +121,6 @@ struct clk *clk_get_parent(struct clk *clk)
|
||||
}
|
||||
EXPORT_SYMBOL(clk_get_parent);
|
||||
|
||||
int clk_set_flags(struct clk *clk, unsigned long flags)
|
||||
{
|
||||
if (clk == NULL || IS_ERR(clk))
|
||||
return -EINVAL;
|
||||
return clk->ops->set_flags(clk->id, flags);
|
||||
}
|
||||
EXPORT_SYMBOL(clk_set_flags);
|
||||
|
||||
/* EBI1 is the only shared clock that several clients want to vote on as of
|
||||
* this commit. If this changes in the future, then it might be better to
|
||||
* make clk_min_rate handle the voting or make ebi1_clk_set_min_rate more
|
||||
|
||||
Reference in New Issue
Block a user