Re: [PATCH v2 3/7] iio: adc: ad7091r5: Simplify driver_data handling

From: Jonathan Cameron

Date: Fri May 22 2026 - 08:06:50 EST


On Thu, 21 May 2026 14:15:41 -0300
Marcelo Schmitt <marcelo.schmitt1@xxxxxxxxx> wrote:

> On 05/19, Uwe Kleine-König (The Capable Hub) wrote:
> > The driver only supports a single device type. So the return value of
> > i2c_get_match_data() is already known and can just be hardcoded without
> > type casting. While at it also remove the unused .data of the
> > single of_device_id entry.
> >
> > Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
>
> Not sure still on time to offer tags. If so,
>
> Reviewed-by: Marcelo Schmitt <marcelo.schmitt@xxxxxxxxxx>
>
Added.

> Thanks,
> Marcelo