diff options
author | Yisheng Xie <xieyisheng1@huawei.com> | 2018-05-31 13:11:13 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-06-02 08:17:06 +0200 |
commit | 99e71543521ce1646fb8d3de1e68fe56a3ba5f8e (patch) | |
tree | b88b9e13ba60d096915b54080f3feb7210ec0a0f /drivers/clk/clk-si5351.c | |
parent | Linux 4.17-rc1 (diff) | |
download | linux-99e71543521ce1646fb8d3de1e68fe56a3ba5f8e.tar.xz linux-99e71543521ce1646fb8d3de1e68fe56a3ba5f8e.zip |
clk: bcm2835: 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.
Reviewed-by: Eric Anholt <eric@anholt.net>
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Eric Anholt <eric@anholt.net>
Cc: Stefan Wahren <stefan.wahren@i2se.com>
Cc: linux-clk@vger.kernel.org
Cc: linux-rpi-kernel@lists.infradead.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-si5351.c')
0 files changed, 0 insertions, 0 deletions