]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50c8cfe2e6feaa57d6738cf3843faae1110dc18f
tree97a551a92d4005eae6f7b2dac7833e49f56a3f71
parent3053ec2b24acdc93f0b278590357c454cfaef6c9
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