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

From: Uwe Kleine-König (The Capable Hub)

Date: Thu May 28 2026 - 02:08:41 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.
^
Here is a word missing ------', please add "unify" here if you apply
this version. I fixed that in my tree, so if it comes to a v2 this will
be fixed there, too.

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature