diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-11-09 04:42:26 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-11-14 00:03:27 +0100 |
commit | a31414e8c98dadbe0d31804804090e78ab1e0e9f (patch) | |
tree | e1203a1198431ed2b589c9291388f012870c0bed /drivers/clk/sprd | |
parent | Merge tag 'tegra-for-5.5-clk-v2' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-a31414e8c98dadbe0d31804804090e78ab1e0e9f.tar.xz linux-a31414e8c98dadbe0d31804804090e78ab1e0e9f.zip |
clk: tegra: Use match_string() helper to simplify the code
match_string() returns the array index of a matching string.
Use it instead of the open-coded implementation.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lkml.kernel.org/r/20191109034226.21044-1-yuehaibing@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/sprd')
0 files changed, 0 insertions, 0 deletions