Re: [PATCH] auxdisplay: Drop explicit initialization of struct i2c_device_id::driver_data to 0
From: Geert Uytterhoeven
Date: Mon Sep 30 2024 - 09:24:26 EST
On Wed, Sep 18, 2024 at 2:32 PM Uwe Kleine-König
<u.kleine-koenig@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>
Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
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