Message ID | 20240703-iio-cont-regmap_bus-v1-0-34754f355b65@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | iio: Constify struct regmap_bus | expand |
On Wed, 03 Jul 2024 23:04:43 +0200 Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote: > This series adds the const modifier to the remaining regmap_bus > structs within the IIO subsystem that are effectively used as const > (i.e., only read after their declaration), but kept as writtable data. > > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Applied, but for now only to the testing tree of iio.git as I'm unlikely to do another pull request this cycle and will want to rebase the tree on 6.11-rc1 once availabled. Thanks, Jonathan > --- > Javier Carrasco (10): > iio: accel: adxl367: Constify struct regmap_bus > iio: accel: bma400: Constify struct regmap_bus > iio: accel: bmi088: Constify struct regmap_bus > iio: adc: ad7091r8: Constify struct regmap_bus > iio: chemical: bme680: Constify struct regmap_bus > iio: dac: ltc2688: Constify struct regmap_bus > iio: imu: bmi323: Constify struct regmap_bus > iio: imu: bno055: Constify struct regmap_bus > iio: light: gp2ap002: Constify struct regmap_bus > iio: pressure: bmp280: Constify struct regmap_bus > > drivers/iio/accel/adxl367_spi.c | 2 +- > drivers/iio/accel/bma400_spi.c | 2 +- > drivers/iio/accel/bmi088-accel-spi.c | 2 +- > drivers/iio/adc/ad7091r8.c | 2 +- > drivers/iio/chemical/bme680_spi.c | 2 +- > drivers/iio/dac/ltc2688.c | 2 +- > drivers/iio/imu/bmi323/bmi323_i2c.c | 2 +- > drivers/iio/imu/bmi323/bmi323_spi.c | 2 +- > drivers/iio/imu/bno055/bno055_ser_core.c | 2 +- > drivers/iio/light/gp2ap002.c | 2 +- > drivers/iio/pressure/bmp280-spi.c | 6 +++--- > 11 files changed, 13 insertions(+), 13 deletions(-) > --- > base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233 > change-id: 20240703-iio-cont-regmap_bus-f7578bc89954 > > Best regards,
This series adds the const modifier to the remaining regmap_bus structs within the IIO subsystem that are effectively used as const (i.e., only read after their declaration), but kept as writtable data. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> --- Javier Carrasco (10): iio: accel: adxl367: Constify struct regmap_bus iio: accel: bma400: Constify struct regmap_bus iio: accel: bmi088: Constify struct regmap_bus iio: adc: ad7091r8: Constify struct regmap_bus iio: chemical: bme680: Constify struct regmap_bus iio: dac: ltc2688: Constify struct regmap_bus iio: imu: bmi323: Constify struct regmap_bus iio: imu: bno055: Constify struct regmap_bus iio: light: gp2ap002: Constify struct regmap_bus iio: pressure: bmp280: Constify struct regmap_bus drivers/iio/accel/adxl367_spi.c | 2 +- drivers/iio/accel/bma400_spi.c | 2 +- drivers/iio/accel/bmi088-accel-spi.c | 2 +- drivers/iio/adc/ad7091r8.c | 2 +- drivers/iio/chemical/bme680_spi.c | 2 +- drivers/iio/dac/ltc2688.c | 2 +- drivers/iio/imu/bmi323/bmi323_i2c.c | 2 +- drivers/iio/imu/bmi323/bmi323_spi.c | 2 +- drivers/iio/imu/bno055/bno055_ser_core.c | 2 +- drivers/iio/light/gp2ap002.c | 2 +- drivers/iio/pressure/bmp280-spi.c | 6 +++--- 11 files changed, 13 insertions(+), 13 deletions(-) --- base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233 change-id: 20240703-iio-cont-regmap_bus-f7578bc89954 Best regards,