[0/6] drivers/iio: Constify structs
mbox series

Message ID 20200526210223.1672-1-rikard.falkeborn@gmail.com
Headers show
Series
  • drivers/iio: Constify structs
Related show

Message

Rikard Falkeborn May 26, 2020, 9:02 p.m. UTC
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(-)