public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/13] iio: remove unused struct fields across drivers
@ 2026-02-02 11:25 Antoniu Miclaus
  2026-02-02 11:25 ` [PATCH v2 01/13] iio: adc: ad4080: remove unused dec_rate field Antoniu Miclaus
                   ` (13 more replies)
  0 siblings, 14 replies; 19+ messages in thread
From: Antoniu Miclaus @ 2026-02-02 11:25 UTC (permalink / raw)
  To: Antoniu Miclaus, Lars-Peter Clausen, Michael Hennerich,
	Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Jagath Jog J, Subhajit Ghosh, Matti Vaittinen, Fabio Estevam,
	Linus Walleij, Sakari Ailus, Marcelo Schmitt, Eugene Zaikonnikov,
	linux-iio, linux-kernel

This series removes unused struct fields found across various IIO
drivers. These fields were either left over from previous refactoring,
or were added during development but never actually used.

Removing them reduces memory footprint slightly and improves code
clarity by eliminating dead struct members that could confuse future
readers.

Each patch is independent and can be merged separately as they touch
different drivers with no dependencies between them.

Changes since v1:
- Reformatted as proper series with cover letter and numbering

Antoniu Miclaus (13):
  iio: adc: ad4080: remove unused dec_rate field
  iio: adc: ad7768-1: remove unused mclk_div field
  iio: adc: ad7793: remove unused int_vref_mv field
  iio: adc: ad9467: remove unused output_mode field
  iio: adc: max1363: remove unused requestedmask field
  iio: adc: nau7802: remove unused min_conversions field
  iio: adc: ti-ads1015: remove unused enabled field
  iio: dac: adi-axi-dac: remove unused int_tone field
  iio: dac: ti-dac5571: remove unused id field
  iio: humidity: hdc2010: remove unused interrupt_config
  iio: imu: bmi323: remove unused drdy_trigger_enabled
  iio: light: apds9306: remove unused nlux_per_count
  iio: light: gp2ap020a00f: remove unused debug_reg_addr

 drivers/iio/adc/ad4080.c             | 1 -
 drivers/iio/adc/ad7768-1.c           | 1 -
 drivers/iio/adc/ad7793.c             | 1 -
 drivers/iio/adc/ad9467.c             | 1 -
 drivers/iio/adc/max1363.c            | 2 --
 drivers/iio/adc/nau7802.c            | 1 -
 drivers/iio/adc/ti-ads1015.c         | 1 -
 drivers/iio/dac/adi-axi-dac.c        | 1 -
 drivers/iio/dac/ti-dac5571.c         | 1 -
 drivers/iio/humidity/hdc2010.c       | 1 -
 drivers/iio/imu/bmi323/bmi323_core.c | 1 -
 drivers/iio/light/apds9306.c         | 2 --
 drivers/iio/light/gp2ap020a00f.c     | 1 -
 13 files changed, 15 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2026-03-03 21:28 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 11:25 [PATCH v2 00/13] iio: remove unused struct fields across drivers Antoniu Miclaus
2026-02-02 11:25 ` [PATCH v2 01/13] iio: adc: ad4080: remove unused dec_rate field Antoniu Miclaus
2026-02-02 11:25 ` [PATCH v2 02/13] iio: adc: ad7768-1: remove unused mclk_div field Antoniu Miclaus
2026-02-02 11:25 ` [PATCH v2 03/13] iio: adc: ad7793: remove unused int_vref_mv field Antoniu Miclaus
2026-02-02 11:25 ` [PATCH v2 04/13] iio: adc: ad9467: remove unused output_mode field Antoniu Miclaus
2026-02-02 12:08   ` Tomas Melin
2026-02-02 11:25 ` [PATCH v2 05/13] iio: adc: max1363: remove unused requestedmask field Antoniu Miclaus
2026-02-02 11:25 ` [PATCH v2 06/13] iio: adc: nau7802: remove unused min_conversions field Antoniu Miclaus
2026-02-02 11:25 ` [PATCH v2 07/13] iio: adc: ti-ads1015: remove unused enabled field Antoniu Miclaus
2026-02-02 11:25 ` [PATCH v2 08/13] iio: dac: adi-axi-dac: remove unused int_tone field Antoniu Miclaus
2026-02-02 11:25 ` [PATCH v2 09/13] iio: dac: ti-dac5571: remove unused id field Antoniu Miclaus
2026-02-02 11:26 ` [PATCH v2 10/13] iio: humidity: hdc2010: remove unused interrupt_config Antoniu Miclaus
2026-02-02 11:26 ` [PATCH v2 11/13] iio: imu: bmi323: remove unused drdy_trigger_enabled Antoniu Miclaus
2026-02-03  9:43   ` Andy Shevchenko
2026-02-02 11:26 ` [PATCH v2 12/13] iio: light: apds9306: remove unused nlux_per_count Antoniu Miclaus
2026-02-02 11:26 ` [PATCH v2 13/13] iio: light: gp2ap020a00f: remove unused debug_reg_addr Antoniu Miclaus
2026-02-03  9:44 ` [PATCH v2 00/13] iio: remove unused struct fields across drivers Andy Shevchenko
2026-02-05 20:45   ` Jonathan Cameron
2026-03-03 21:28     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox