Re: [PATCH v2 3/7] iio: adc: ad7091r5: Simplify driver_data handling
From: Jonathan Cameron
Date: Tue May 19 2026 - 14:50:30 EST
On Tue, 19 May 2026 10:13:05 +0200
Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx> 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>
Applied.