• Bhumika Goyal's avatar
    iio: adc: constify iio_info structures · 99a22f06
    Bhumika Goyal authored
    Declare iio_info structures as const as they are only stored in
    the info field of a iio_dev structure. This field is of type const,
    so iio_info structures having similar properties can be made const too.
    
    File size before:
       text	   data	    bss	    dec	    hex	filename
       6944	    792	      0	   7736	   1e38	drivers/iio/adc/ti-ads1015.o
    
    File size after:
       text   data	    bss	    dec	    hex	filename
       7264	    472	      0	   7736	   1e38	drivers/iio/adc/ti-ads1015.o
    Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
    Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
    99a22f06
ti-ads1015.c 17.4 KB