On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie wrote:
> match_string() returns the index of an array for a matching string,
> which can be used intead of open coded variant.
> + return match_string(core->parent_names,
> + core->num_parents, parent_core->name) >= 0;
match_string() returns the index of an array for a matching string,
which can be used intead of open coded variant.
Cc: Michael Turquette
Cc: Stephen Boyd
Cc: linux-...@vger.kernel.org
Signed-off-by: Yisheng Xie
---
drivers/clk/clk.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-
2 matches
Mail list logo