Re: [PATCH v2 3/3] drm/nouveau: Use named initializers for i2c_device_id arrays
Danilo Krummrich <[email protected]> Mon, 20 Jul 2026 15:04:50 +0200
| Newsgroups | org.freedesktop.lists.nouveau,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 7/20/26 1:25 PM, 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 union. > (Though these drivers don't use .driver_data, so this patch isn't > strictly needed, but still good for consistency.) > > Reviewed-by: Luca Ceresoli <[email protected]> > Signed-off-by: Uwe Kleine-König (The Capable Hub) <[email protected]> Acked-by: Danilo Krummrich <[email protected]>