]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: i2c: Constify snd_device_ops definitions
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:16:22 +0000 (09:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Jan 2020 08:23:53 +0000 (09:23 +0100)
commit75865573baae979a71c787ae51dd727e50452c1b
treeaea63923dc19804ae5b2b799322398898211bacf
parent2d35b06a82bf032a6da2889eaba7615b787b4104
ALSA: i2c: Constify snd_device_ops definitions

Now we may declare const for snd_device_ops definitions, so let's do
it for optimization.

There should be no functional changes by this patch.

Link: https://lore.kernel.org/r/20200103081714.9560-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/i2c/i2c.c
sound/i2c/other/ak4113.c
sound/i2c/other/ak4114.c
sound/i2c/other/ak4117.c