Re: [PATCH v1 4/6] power: Use named initializers for platform_device_id arrays
From: Matti Vaittinen
Date: Mon Jun 01 2026 - 02:52:24 EST
On 29/05/2026 13:18, 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.
While touching these arrays unify spacing and usage of commas.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>
Yours,
-- Matti
--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~