Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <antoniu.miclaus@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Antoniu Miclaus and committed by
Jonathan Cameron
c1de86da 04bb8d0e

-1
-1
drivers/iio/adc/ad4080.c
··· 188 188 */ 189 189 struct mutex lock; 190 190 unsigned int num_lanes; 191 - unsigned int dec_rate; 192 191 unsigned long clk_rate; 193 192 enum ad4080_filter_type filter_type; 194 193 bool lvds_cnv_en;