[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2024090604-scabby-enforcer-c834@gregkh>
Date: Fri, 6 Sep 2024 19:19:13 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Uwe Kleine-König <u.kleine-koenig@...libre.com>,
linux-kernel@...r.kernel.org, krzk@...nel.org
Subject: Re: [PATCH GIT PULL] w1: ds2482: Drop explicit initialization of
struct i2c_device_id::driver_data to 0
On Fri, Sep 06, 2024 at 04:11:33PM +0200, Krzysztof Kozlowski wrote:
> From: Uwe Kleine-König <u.kleine-koenig@...libre.com>
>
> 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@...libre.com>
> Reviewed-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
> Link: https://lore.kernel.org/r/20240725160909.326143-2-u.kleine-koenig@baylibre.com
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> ---
>
> Hi Greg,
>
> I have only one patch for you in my queue.
THanks, now applied.
greg k-h
Powered by blists - more mailing lists