Re: [PATCH] power: supply: Use named initializers for arrays of i2c_device_data

From: Sebastian Reichel

Date: Wed Jun 03 2026 - 17:15:19 EST



On Fri, 15 May 2026 12:16:28 +0200, Uwe Kleine-König (The Capable Hub) 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.
>
> [...]

Applied, thanks!

[1/1] power: supply: Use named initializers for arrays of i2c_device_data
commit: 347fcfcc0758cc7523f440f47594f9a5037c50c0

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>