Re: [PATCH v1 2/2] hwmon: Use named initializers for platform_device_id arrays

From: Guenter Roeck

Date: Sun Jun 07 2026 - 20:28:36 EST


On Wed, May 27, 2026 at 05:15:53PM +0200, Uwe Kleine-König (The Capable Hub) 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 unit.
>
> While touching these arrays usage of commas.
>
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>

Applied (and updated description).

Thanks,
Guenter