]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: aoa: Constify snd_kcontrol_new items
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:48 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:24:22 +0000 (09:24 +0100)
commit2b4c2ab2b09aff1500cd4fca7f7f5f1c28d14b9b
treeda24031c3c895ecb5543a0aa95d2d836fd58ce16
parentbd015651aa7519a091a427cff6706c7f8cd976b3
ALSA: aoa: 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-33-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/codecs/onyx.c
sound/aoa/codecs/tas.c
sound/aoa/fabrics/layout.c