ALSA: usb-audio: Simplify snd_usb_init_pitch() arguments
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 08:53:26 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 14:14:27 +0000 (15:14 +0100)
commit73037c8dc1c8cf994a38fedba4a5af7e6da5e4f1
tree8b8666cf31004ba0df6c7a08cecab12904fed983
parent953a446b50fd6c68f0a40f0cd79a2a903faf3243
ALSA: usb-audio: Simplify snd_usb_init_pitch() arguments

A preliminary change for the later big changes.  This is a minor code
refactoring to drop the unnecessary arguments that can be retrieved in
a different way.

Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-21-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c
sound/usb/pcm.h
sound/usb/quirks.c
sound/usb/stream.c