[PATCH] ARM: s3c: Drop explicit initialization of struct i2c_device_id::driver_data to 0
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Mon Jul 29 05:25:28 PDT 2024
On Mon, 08 Jul 2024 17:25:30 +0200, Uwe Kleine-König wrote:
> The wlf-gf-module driver doesn't use the driver_data member of struct
> i2c_device_id, so don't explicitly initialize this member.
>
> This prepares putting driver_data in an anonymous union which requires
> either no initialization or named designators. But it's also a nice
> cleanup on its own.
>
> [...]
Applied, thanks!
[1/1] ARM: s3c: Drop explicit initialization of struct i2c_device_id::driver_data to 0
https://git.kernel.org/krzk/linux/c/c652cfd1d31ebcb54fba1fc19dcd8691c5ba9474
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
More information about the linux-arm-kernel
mailing list