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

Guenter Roeck <[email protected]>
Newsgroups org.kernel.vger.linux-watchdog,dev.linux.lists.chrome-platform,org.kernel.vger.linux-kernel
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.