Re: [PATCH v2] hwmon: use named initializers for acpi_device_id

From: Guenter Roeck

Date: Wed Sep 16 2026 - 11:38:03 EST


On 9/16/26 07:33, Pawel Zalewski wrote:
It also replaces pointers to empty strings with NULL pointers,
which is a functional change and still neither documented nor explained.

Please note that the 'id' here is an __u8[] array, not a const char *
and that the generated .o objects are equal pre/post the patch as both
methods just initialize the array to 0s. So I think the commit message
explains what the patch is doing, perhaps it might be worth mentioning
that the 'id' field is a byte array in the message.


Thanks for the information.

I accepted the patch as-is.

Guenter