]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb505d520c1aa56f866745e142e380fab9e7242e
treebd3722e3ad66f9a09446c78221e919d82166600e
parentc3a5db74dd9303944e410728b9350f924cb72c8b
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