Re: [PATCH 1/2] iio: adc: stx104: Implement and utilize register structures

From: Andy Shevchenko
Date: Wed Jun 15 2022 - 05:45:38 EST


On Mon, Jun 6, 2022 at 4:27 PM William Breathitt Gray
<william.gray@xxxxxxxxxx> wrote:
>
> Reduce magic numbers and improve code readability by implementing and
> utilizing named register data structures.

Can we consider using regmap APIs instead?


--
With Best Regards,
Andy Shevchenko