Re: [PATCH] iio: proximity: as3935: constify attribute_group structures

2017-04-01 Thread Jonathan Cameron
On 01/04/17 09:39, simran singhal wrote: > Check for attribute_group structures that are only stored in the > attrs filed of iio_info structure. As the attrs field of iio_info > structures is constant, so these attribute_group structures can also be > declared constant. > Done using coccinelle: >

Re: [PATCH] iio: proximity: as3935: constify attribute_group structures

2017-04-01 Thread Jonathan Cameron
On 01/04/17 09:39, simran singhal wrote: > Check for attribute_group structures that are only stored in the > attrs filed of iio_info structure. As the attrs field of iio_info > structures is constant, so these attribute_group structures can also be > declared constant. > Done using coccinelle: >

[PATCH] iio: proximity: as3935: constify attribute_group structures

2017-04-01 Thread simran singhal
Check for attribute_group structures that are only stored in the attrs filed of iio_info structure. As the attrs field of iio_info structures is constant, so these attribute_group structures can also be declared constant. Done using coccinelle: @r1 disable optional_qualifier @ identifier i;

[PATCH] iio: proximity: as3935: constify attribute_group structures

2017-04-01 Thread simran singhal
Check for attribute_group structures that are only stored in the attrs filed of iio_info structure. As the attrs field of iio_info structures is constant, so these attribute_group structures can also be declared constant. Done using coccinelle: @r1 disable optional_qualifier @ identifier i;