Skip to content
Commit 4c74a1fc authored by Yisheng Xie's avatar Yisheng Xie Committed by Lee Jones
Browse files

mfd: omap-usb-host: Use match_string() helper



match_string() returns the index of an array for a matching string,
which can be used intead of open coded variant.

Signed-off-by: default avatarYisheng Xie <xieyisheng1@huawei.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent d95c9760
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment