Re: [PATCH 02/10] mtd: spi-nor: Use named initializers for spi_device_id

From: Michael Walle

Date: Mon Nov 30 2026 - 03:12:47 EST


On Wed Nov 25, 2026 at 5:28 PM CET, Pawel Zalewski wrote:
> Use a designated initializer for the spi_device_id fields which makes the
> code more readable and consistent with how lists are initialized in the
> rest of the kernel code base.
>
> Put every list item on a new line and unify the list terminator to have
> a single space between the brackets and no trailing comma.

Honestly, this is old legacy code and it's not expected that there
will be any new entries. And I'm not sure this improves readability.
Since they don't use the data pointers, this is not really needed
for the conversion, correct?

-michael

Attachment: signature.asc
Description: PGP signature