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

From: William Breathitt Gray
Date: Wed Jun 15 2022 - 07:56:02 EST


On Wed, Jun 15, 2022 at 11:44:54AM +0200, Andy Shevchenko wrote:
> 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

The regmap API may be more appropriate here. I'll investigate and see if
I can convert this over to it.

William Breathitt Gray

Attachment: signature.asc
Description: PGP signature