From: Antoniu Miclaus Date: Mon, 2 Feb 2026 11:25:51 +0000 (+0200) Subject: iio: adc: ad4080: remove unused dec_rate field X-Git-Tag: v7.1-rc1~17^2~120^2~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1de86dab615b1b379ed856434c4fe9e71d32318;p=thirdparty%2Flinux.git iio: adc: ad4080: remove unused dec_rate field 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 Reviewed-by: Andy Shevchenko Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/adc/ad4080.c b/drivers/iio/adc/ad4080.c index fc261d3d76872..204ad198342ba 100644 --- a/drivers/iio/adc/ad4080.c +++ b/drivers/iio/adc/ad4080.c @@ -188,7 +188,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;