public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: adc: ad4080: remove unused dec_rate field
@ 2026-01-29 17:21 Antoniu Miclaus
  2026-01-29 17:21 ` [PATCH] iio: adc: ad7768-1: remove unused mclk_div field Antoniu Miclaus
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Antoniu Miclaus @ 2026-01-29 17:21 UTC (permalink / raw)
  To: Antoniu Miclaus, Lars-Peter Clausen, Michael Hennerich,
	Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Matti Vaittinen, Fabio Estevam, Sakari Ailus, Chen-Yu Tsai,
	linux-iio, linux-kernel

Remove unused dec_rate field from ad4080_state struct.
The driver reads/writes decimation rate directly from
hardware registers via ad4080_get_dec_rate() and
ad4080_set_dec_rate() functions.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
---
 drivers/iio/adc/ad4080.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/adc/ad4080.c b/drivers/iio/adc/ad4080.c
index 7cf3b6ed7940..8bc092969c18 100644
--- a/drivers/iio/adc/ad4080.c
+++ b/drivers/iio/adc/ad4080.c
@@ -185,7 +185,6 @@ struct ad4080_state {
 	 */
 	struct mutex			lock;
 	unsigned int			num_lanes;
-	unsigned int			dec_rate;
 	unsigned long			clk_rate;
 	enum ad4080_filter_type		filter_type;
 	bool				lvds_cnv_en;
-- 
2.43.0


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

end of thread, other threads:[~2026-01-31 16:57 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-29 17:21 [PATCH] iio: adc: ad4080: remove unused dec_rate field Antoniu Miclaus
2026-01-29 17:21 ` [PATCH] iio: adc: ad7768-1: remove unused mclk_div field Antoniu Miclaus
2026-01-29 17:22 ` [PATCH] iio: adc: ad7793: remove unused int_vref_mv field Antoniu Miclaus
2026-01-29 17:22 ` [PATCH] iio: adc: ad9467: remove unused output_mode field Antoniu Miclaus
2026-01-29 17:22 ` [PATCH] iio: adc: max1363: remove unused requestedmask field Antoniu Miclaus
2026-01-29 17:22 ` [PATCH] iio: adc: nau7802: remove unused min_conversions field Antoniu Miclaus
2026-01-29 17:22 ` [PATCH] iio: adc: ti-ads1015: remove unused enabled field Antoniu Miclaus
2026-01-29 17:22 ` [PATCH] iio: dac: adi-axi-dac: remove unused int_tone field Antoniu Miclaus
2026-01-29 17:22 ` [PATCH] iio: dac: ti-dac5571: remove unused id field Antoniu Miclaus
2026-01-30  5:21 ` [PATCH] iio: adc: ad4080: remove unused dec_rate field Andy Shevchenko
2026-01-30  7:32   ` Miclaus, Antoniu
2026-01-31 16:50     ` Jonathan Cameron
2026-01-30  5:23 ` Andy Shevchenko
2026-01-30 17:38   ` Jonathan Cameron
2026-01-31 16:57     ` Jonathan Cameron

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