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

From: Marcelo Schmitt

Date: Thu May 21 2026 - 13:36:06 EST


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>

Thanks,
Marcelo