ALSA: oxfw: use match_string() helper
authorYisheng Xie <xieyisheng1@huawei.com>
Mon, 21 May 2018 11:58:06 +0000 (19:58 +0800)
committerTakashi Iwai <tiwai@suse.de>
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 <xieyisheng1@huawei.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/oxfw/oxfw.c