[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdWKT=Z6m58RzPzGOr2HaNzYAY+qikDT+HXh_p5v5aOyWQ@mail.gmail.com>
Date: Mon, 30 Sep 2024 15:17:59 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Uwe Kleine-König <u.kleine-koenig@...libre.com>
Cc: Andy Shevchenko <andy@...nel.org>, Robin van der Gracht <robin@...tonic.nl>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] auxdisplay: Drop explicit initialization of struct
i2c_device_id::driver_data to 0
On Wed, Sep 18, 2024 at 2:32 PM Uwe Kleine-König
<u.kleine-koenig@...libre.com> wrote:
> These drivers don'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: Geert Uytterhoeven <geert@...ux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists