[PATCH 0/6] drivers/iio: Constify structs

Rikard Falkeborn
2020-05-26T21:02:50Z

Constify a number of static structs to allow the compiler to put them in
read-only memory. The patches are independent.

Rikard Falkeborn (6):
iio: adc: max11100: Constify struct iio_chan_spec
iio: dac: ad5380: Constify struct iio_chan_spec_ext_info
iio: dac: ad5592r-base: Constify struct iio_chan_spec_ext_info
iio: dac: ad5686: Constify static struct iio_chan_spec
iio: light: stk3310: Constify regmap_config
iio: magnetometer: mmc35240: Constify struct reg_default

drivers/iio/adc/max11100.c | 2 +-
drivers/iio/dac/ad5380.c | 2 +-
drivers/iio/dac/ad5592r-base.c | 2 +-
drivers/iio/dac/ad5686.c | 8 ++++----
drivers/iio/dac/ad5686.h | 2 +-
drivers/iio/light/stk3310.c | 2 +-
drivers/iio/magnetometer/mmc35240.c | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)

--
2.26.2