iio: adc: constify iio_info structures
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 21 Jan 2017 17:03:00 +0000 (22:33 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Jan 2017 13:21:43 +0000 (13:21 +0000)
commit99a22f062b1c279a5d332946de655ef0a244e583
tree11a5c5be40e807b1f0c80f69b260b10b8de7fba2
parent3bdafc49f5df9f2f741c71b12b76d202211e06f6
iio: adc: constify iio_info structures

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: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ti-ads1015.c