Re: [PATCH v2 4/7] iio: adc: ad7091r: Alloc IIO device before generic probe
From: Jonathan Cameron
Date: Sat Nov 25 2023 - 11:22:08 EST
On Thu, 23 Nov 2023 13:41:59 -0300
Marcelo Schmitt <marcelo.schmitt@xxxxxxxxxx> wrote:
> Rework ad7091r probe functions so the IIO device is allocated before
> the generic device probe function is called.
> This change is needed for a follow up patch that passes a pointer to the
> IIO device to a couple of regmap callback functions.
>
> Signed-off-by: Marcelo Schmitt <marcelo.schmitt@xxxxxxxxxx>
> Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@xxxxxxxxx>
Why the gmail sign off? That's unusual enough that if it makes sense I'd like
to see a comment below the --- on why.
Patch is fine, though I'll need to read further for why this is needed!
Jonathan