Re: [PATCH] staging: iio: light: constify attribute_group structures

2017-04-01 Thread Jonathan Cameron
On 01/04/17 03:28, simran singhal wrote: > As the event_attrs field of iio_info structures is constant, so these > attribute_group structures can also be declared constant. > > File size before: >text data bss dec hex filename > 15064 1528 0 16592

Re: [PATCH] staging: iio: light: constify attribute_group structures

2017-04-01 Thread Jonathan Cameron
On 01/04/17 03:28, simran singhal wrote: > As the event_attrs field of iio_info structures is constant, so these > attribute_group structures can also be declared constant. > > File size before: >text data bss dec hex filename > 15064 1528 0 16592

[PATCH] staging: iio: light: constify attribute_group structures

2017-03-31 Thread simran singhal
As the event_attrs field of iio_info structures is constant, so these attribute_group structures can also be declared constant. File size before: textdata bss dec hex filename 150641528 0 1659240d0 drivers/staging/iio/light/tsl2x7x_core.o File size after:

[PATCH] staging: iio: light: constify attribute_group structures

2017-03-31 Thread simran singhal
As the event_attrs field of iio_info structures is constant, so these attribute_group structures can also be declared constant. File size before: textdata bss dec hex filename 150641528 0 1659240d0 drivers/staging/iio/light/tsl2x7x_core.o File size after: