Re: [PATCH v2 00/10] mtd: use desginated initializers in *_device_id arrays
From: Miquel Raynal
Date: Fri Dec 04 2026 - 16:51:03 EST
On Tue, 01 Dec 2026 16:18:46 +0000, Pawel Zalewski wrote:
> This series is converting lists that contain the *_device_id structs,
> to make use of named initializers (which they do not use currently).
> This work is part of the on going effort in the kernel associated with
> device-ids [1]
>
> The plan is to convert *_device_id::driver_data to have an anonymous
> union, like it is currently introduced for PCI and I2C device ID tables
> and already converted in ieee1394 and zorro tables. The goal is to
> increase type-safety (most of the existing casts are gone),
> to improve readability and to make use intent a bit more clear:
>
> [...]
Applied to mtd/next, thanks!
[01/10] mtd: maps: pismo: Use named initializers for i2c_device_id
commit: 749734102285f2a974c3ab9b2ff053f05643d0a2
[02/10] mtd: spi-nor: Use named initializers for spi_device_id
commit: 18422f2d11f9061aa7c9c7ecd0f9c2df41ba9a33
[03/10] mtd: maps: int0800: Use named initializers for acpi_device_id
commit: f74b5c5ad88e6c69909b143e444a544ac497dee8
[04/10] mtd: spi-nor: Unify of_device_id list terminator and padding
commit: c6cac3eb1433d8689d295016d0631ca528ae8763
[05/10] mtd: devices: Unify list terminator for *_device_id lists
commit: 848bff8ba71a94f86d9c34cd7607bab92e2684e4
[06/10] mtd: nand: raw: Unify list terminator for *_device_id lists
commit: 7cea719d10fd6f9000b05515ab65f7bce1abdb94
[07/10] mtd: hyperbus: Unify list terminator for *_device_id lists
commit: c27bb0a65dea246f39ee44476dae7d15a10c3ce3
[08/10] mtd: maps: Unify list terminator for of_device_id lists
commit: 26a05d669a55e6b42e5efb0494840ba3e2fac1a7
[09/10] mtd: nand: Unify list terminator for *_device_id lists
commit: 0e339e7eb6ee15bb0a9a070432d2535068f2b0e9
[10/10] mtd: parsers: Unify list terminator for of_device_id lists
commit: f74ef178391e7f3847202b2394a25d335d2073cf
Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl