ALSA: oxygen: use match_string() helper
authorYisheng Xie <xieyisheng1@huawei.com>
Thu, 31 May 2018 11:11:20 +0000 (19:11 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 31 May 2018 17:42:48 +0000 (19:42 +0200)
commit9ee92f5355f8264de20c8337823aff918c717aee
treebd3722e3ad66f9a09446c78221e919d82166600e
parent0d5bcfc9974ad8ce0fc77a95a53ab704faa0dfb7
ALSA: oxygen: use match_string() helper

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

Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/oxygen_mixer.c