mfd: omap-usb-host: Use match_string() helper
authorYisheng Xie <xieyisheng1@huawei.com>
Mon, 21 May 2018 11:57:39 +0000 (19:57 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Jun 2018 07:44:17 +0000 (08:44 +0100)
commit4c74a1fc948b32df9c5a61eb2203d1e4d977a489
tree144a16d1bb248075269352779da3af067d5e8597
parentd95c9760d9c8e046b09b54a3bb6dd0c9aa7a0eff
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: Yisheng Xie <xieyisheng1@huawei.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/omap-usb-host.c