Re: [PATCH v4 3/5] iio: adc: ad7380: do not store osr in private data structure

Andy Shevchenko
2025-01-12T16:31:11Z

Wed, Jan 08, 2025 at 01:49:35PM +0100, Julien Stephan kirjoitti:
> Since regmap cache is now enabled, we don't need to store the
> oversampling ratio in the private data structure.

...

> +/**
> + * ad7380_regval_to_osr - convert OSR register value to ratio
> + * @regval: register value to check
> + *
> + * Returns: the ratio corresponding to the OSR register. If regval is not in
> + * bound, return 1 (oversampling disabled)

> + *

Redundant blank line.

> + */

--
With Best Regards,
Andy Shevchenko