mfd: omap-usb-host: Use match_string() helper
authorYisheng Xie <[email protected]>
Mon, 21 May 2018 11:57:39 +0000 (19:57 +0800)
committerLee Jones <[email protected]>
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 <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
drivers/mfd/omap-usb-host.c