summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoniu Miclaus <antoniu.miclaus@analog.com>2026-02-02 14:25:52 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-03-04 00:20:02 +0300
commit1a993d5686ffe6f9b6addea22301ece733897765 (patch)
tree57f64f8d56aa7ec1ca70ea527a31e0ca7d1721d7
parentc1de86dab615b1b379ed856434c4fe9e71d32318 (diff)
downloadlinux-1a993d5686ffe6f9b6addea22301ece733897765.tar.xz
iio: adc: ad7768-1: remove unused mclk_div field
Remove unused mclk_div field from ad7768_state struct. The field is declared but never accessed in the driver. Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/adc/ad7768-1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/adc/ad7768-1.c b/drivers/iio/adc/ad7768-1.c
index 917a3a0380a1..8131f1d90072 100644
--- a/drivers/iio/adc/ad7768-1.c
+++ b/drivers/iio/adc/ad7768-1.c
@@ -309,7 +309,6 @@ struct ad7768_state {
unsigned int vcm_output_sel;
struct clk *mclk;
unsigned int mclk_freq;
- unsigned int mclk_div;
unsigned int oversampling_ratio;
enum ad7768_filter_type filter_type;
unsigned int samp_freq;