Re: [PATCH net-next v1] net: pse-pd: Use named initializers for arrays of i2c_device_data
From: patchwork-bot+netdevbpf
Date: Wed May 20 2026 - 22:14:17 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 19 May 2026 16:01:01 +0200 you wrote:
> While being less compact, using named initializers allows to more easily
> see which members of the structs are assigned which value without having
> to lookup the declaration of the struct. And it's also more robust
> against changes to the struct definition.
>
> The mentioned robustness is relevant for a planned change to struct
> i2c_device_id that replaces .driver_data by an anonymous union.
>
> [...]
Here is the summary with links:
- [net-next,v1] net: pse-pd: Use named initializers for arrays of i2c_device_data
https://git.kernel.org/netdev/net-next/c/f186a3ae9061
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html