Re: [PATCH 2/3] iio: adc: men_z188_adc: constify iio_info structures

2016-09-18 Thread Jonathan Cameron
On 16/09/16 11:55, Julia Lawall wrote: > Check for iio_info structures that are only stored in the info field of a > iio_dev structure. This field is declared const, so iio_info structures > that have this property can be declared as const also. > > The semantic patch that makes this change is

Re: [PATCH 2/3] iio: adc: men_z188_adc: constify iio_info structures

2016-09-18 Thread Jonathan Cameron
On 16/09/16 11:55, Julia Lawall wrote: > Check for iio_info structures that are only stored in the info field of a > iio_dev structure. This field is declared const, so iio_info structures > that have this property can be declared as const also. > > The semantic patch that makes this change is