Skip to content

drivers/iio: Constify structs

Rikard Falkeborn linux-iio linux-pm lkml 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6iio: adc: max11100: Constify struct iio_chan_specdrivers/iio/adc/max11100.c+1 -11 reply
2/6iio: dac: ad5380: Constify struct iio_chan_spec_ext_infodrivers/iio/dac/ad5380.c+1 -12 replies
3/6iio: dac: ad5592r-base: Constify struct iio_chan_spec_ext_infodrivers/iio/dac/ad5592r-base.c+1 -12 replies
4/6iio: dac: ad5686: Constify static struct iio_chan_specdrivers/iio/dac/ad5686.c drivers/iio/dac/ad5686.h+5 -54 replies
5/6iio: light: stk3310: Constify regmap_configdrivers/iio/light/stk3310.c+1 -11 reply
6/6iio: magnetometer: mmc35240: Constify struct reg_defaultdrivers/iio/magnetometer/mmc35240.c+1 -11 reply

Reviews trailers per patch

3 of 6 patches have a Reviewed-by or Acked-by.

PatchAlexandru Ardelean
1/6
2/6A-b
3/6A-b
4/6A-b
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.26.2