[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZqK6uI6zsZVyqWVl@shikoro>
Date: Thu, 25 Jul 2024 22:51:04 +0200
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: Uwe Kleine-König <u.kleine-koenig@...libre.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>, Wolfram Sang <wsa@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] w1: ds2482: Drop explicit initialization of struct
i2c_device_id::driver_data to 0
On Thu, Jul 25, 2024 at 06:09:07PM +0200, Uwe Kleine-König wrote:
> 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>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists