Re: [PATCH v1] watchdog: Use named initializers for platform_device_id arrays

Guenter Roeck <[email protected]> Thu, 2 Jul 2026 07:16:01 -0700
Newsgroups dev.linux.lists.chrome-platform,org.kernel.vger.linux-kernel,org.kernel.vger.linux-watchdog
Message-ID <[email protected]>
On Tue, Jun 16, 2026 at 05:25:10PM +0200, 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.
> 
> For one driver drop the unused assignment to .driver_data instead.
> 
> While touching these arrays unify spacing and usage of commas.
> 
> There is no effect on the compiled arrays.
> 
> Signed-off-by: Uwe Kleine-König (The Capable Hub) <[email protected]>

Applied.

Thanks,
Guenter