summaryrefslogtreecommitdiffstats
path: root/drivers/iio/industrialio-trigger.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-01-21 18:03:00 +0100
committerJonathan Cameron <jic23@kernel.org>2017-01-22 14:21:43 +0100
commit99a22f062b1c279a5d332946de655ef0a244e583 (patch)
tree11a5c5be40e807b1f0c80f69b260b10b8de7fba2 /drivers/iio/industrialio-trigger.c
parentiio: industrialio-trigger: constify device_type structures (diff)
downloadlinux-99a22f062b1c279a5d332946de655ef0a244e583.tar.xz
linux-99a22f062b1c279a5d332946de655ef0a244e583.zip
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>
Diffstat (limited to 'drivers/iio/industrialio-trigger.c')
0 files changed, 0 insertions, 0 deletions