Skip to content
Commit a31414e8 authored by YueHaibing's avatar YueHaibing Committed by Stephen Boyd
Browse files

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: default avatarYueHaibing <yuehaibing@huawei.com>
Link: https://lkml.kernel.org/r/20191109034226.21044-1-yuehaibing@huawei.com
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 097064b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment