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: NEric 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: NYisheng Xie <xieyisheng1@huawei.com> Signed-off-by: NStephen Boyd <sboyd@kernel.org>
Showing
想要评论请 注册 或 登录