Re: [PATCH 2/7] ASoC: atmel_wm8904: constify snd_soc_ops structures

2016-10-18 Thread Nicolas Ferre
Le 15/10/2016 à 16:55, Julia Lawall a écrit : > Check for snd_soc_ops structures that are only stored in the ops field of a > snd_soc_dai_link structure. This field is declared const, so snd_soc_ops > structures that have this property can be declared as const also. > > The semantic patch that

Re: [PATCH 2/7] ASoC: atmel_wm8904: constify snd_soc_ops structures

2016-10-18 Thread Nicolas Ferre
Le 15/10/2016 à 16:55, Julia Lawall a écrit : > Check for snd_soc_ops structures that are only stored in the ops field of a > snd_soc_dai_link structure. This field is declared const, so snd_soc_ops > structures that have this property can be declared as const also. > > The semantic patch that

[PATCH 2/7] ASoC: atmel_wm8904: constify snd_soc_ops structures

2016-10-15 Thread Julia Lawall
Check for snd_soc_ops structures that are only stored in the ops field of a snd_soc_dai_link structure. This field is declared const, so snd_soc_ops structures that have this property can be declared as const also. The semantic patch that makes this change is as follows:

[PATCH 2/7] ASoC: atmel_wm8904: constify snd_soc_ops structures

2016-10-15 Thread Julia Lawall
Check for snd_soc_ops structures that are only stored in the ops field of a snd_soc_dai_link structure. This field is declared const, so snd_soc_ops structures that have this property can be declared as const also. The semantic patch that makes this change is as follows: