mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 00:28:54 +02:00
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>
This commit is contained in:
parent
04bb8d0e5d
commit
c1de86dab6
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user