ALSA: oxfw: use match_string() helper
authorYisheng Xie <[email protected]>
Mon, 21 May 2018 11:58:06 +0000 (19:58 +0800)
committerTakashi Iwai <[email protected]>
Tue, 22 May 2018 07:25:42 +0000 (09:25 +0200)
commit2cc47d31ebf967cfca74045ac8fc9bb742f17ab3
tree97a551a92d4005eae6f7b2dac7833e49f56a3f71
parent96382b4f560becdd79ac19f0b17f6d611c81ccb1
ALSA: oxfw: 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]>
Reviewed-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/firewire/oxfw/oxfw.c