Re: [PATCH GIT PULL] w1: ds2482: Drop explicit initialization of struct i2c_device_id::driver_data to 0

From: Greg Kroah-Hartman
Date: Fri Sep 06 2024 - 13:19:35 EST


On Fri, Sep 06, 2024 at 04:11:33PM +0200, Krzysztof Kozlowski wrote:
> From: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>
>
> This 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.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>
> Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/r/20240725160909.326143-2-u.kleine-koenig@xxxxxxxxxxxx
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
>
> Hi Greg,
>
> I have only one patch for you in my queue.

THanks, now applied.

greg k-h