[PATCH v1] iio: Use named initializers for platform_device_id arrays

Jonathan Cameron jic23 at kernel.org
Thu May 28 04:58:24 PDT 2026


On Thu, 28 May 2026 12:16:49 +0200
Uwe Kleine-König (The Capable Hub) <u.kleine-koenig at baylibre.com> wrote:

> Named initializers are better readable and more robust to changes of the
> struct definition. This robustness is relevant for a planned change to
> struct platform_device_id replacing .driver_data by an anonymous union.
> 
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig at baylibre.com>
Applied.

thanks,
Jonathan



More information about the linux-arm-kernel mailing list