ALSA: usb: Constify snd_kcontrol_new items
Most of snd_kcontrol_new definitions are read-only and passed as-is. Let's declare them as const for further optimization. There should be no functional changes by this patch. Link: https://lore.kernel.org/r/20200103081714.9560-42-tiwai@suse.de Signed-off-by:Takashi Iwai <tiwai@suse.de>
Showing
- sound/usb/6fire/control.c 4 additions, 4 deletionssound/usb/6fire/control.c
- sound/usb/mixer.c 3 additions, 3 deletionssound/usb/mixer.c
- sound/usb/mixer.h 1 addition, 1 deletionsound/usb/mixer.h
- sound/usb/mixer_quirks.c 8 additions, 8 deletionssound/usb/mixer_quirks.c
- sound/usb/mixer_us16x08.c 19 additions, 19 deletionssound/usb/mixer_us16x08.c
- sound/usb/mixer_us16x08.h 1 addition, 1 deletionsound/usb/mixer_us16x08.h
Loading
Please register or sign in to comment