commit | d6347445c49637237c5316fd76833be1d0ffa695 | [log] [tgz] |
---|---|---|
author | Yisheng Xie <xieyisheng1@huawei.com> | Thu May 31 19:11:14 2018 +0800 |
committer | Stephen Boyd <sboyd@kernel.org> | Fri Jun 01 23:17:08 2018 -0700 |
tree | 6bb85aca7c30e9b848cd6b482df2205b4c5f13de | |
parent | 99e71543521ce1646fb8d3de1e68fe56a3ba5f8e [diff] |
clk: use match_string() helper match_string() returns the index of an array for a matching string, which can be used instead of open coded variant. Cc: Michael Turquette <mturquette@baylibre.com> Cc: linux-clk@vger.kernel.org Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>