Re: [PATCH] ALSA: ice1712: add const to snd_akm4xxx structures

2017-08-06 Thread Takashi Iwai
On Fri, 04 Aug 2017 19:49:30 +0200, Bhumika Goyal wrote: > > Declare snd_akm4xxx structures as const as they are only passed > to the function snd_ice1712_akm4xxx_init. This argument is of type > const, so make the structures const. > Done using Coccinelle: > > @match disable

Re: [PATCH] ALSA: ice1712: add const to snd_akm4xxx structures

2017-08-06 Thread Takashi Iwai
On Fri, 04 Aug 2017 19:49:30 +0200, Bhumika Goyal wrote: > > Declare snd_akm4xxx structures as const as they are only passed > to the function snd_ice1712_akm4xxx_init. This argument is of type > const, so make the structures const. > Done using Coccinelle: > > @match disable