ALSA: usb-audio: Simplify quirk entries with a macro
authorTakashi Iwai <tiwai@suse.de>
Mon, 17 Aug 2020 08:21:39 +0000 (10:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Aug 2020 09:00:46 +0000 (11:00 +0200)
commitfa10635fca359f047df6a18b3befd2f1e7304e1a
treebadb7e898c68fe97bebdedfe572c3015a7d61a54
parent5436f59bc5bcc27ca0244ebdb02b4228bf8b1aae
ALSA: usb-audio: Simplify quirk entries with a macro

Introduce a new macro USB_AUDIO_DEVICE() for the entries matching with
the pid/vid pair and the class/subclass, and remove the open-code.

Link: https://lore.kernel.org/r/20200817082140.20232-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h