]> www.infradead.org Git - users/jedix/linux-maple.git/commit
auxdisplay: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Wed, 18 Sep 2024 12:31:50 +0000 (14:31 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 30 Sep 2024 13:22:48 +0000 (16:22 +0300)
commite3a5eb4ad79511b9ef47a116ec94ec0b3598cbda
tree928411b9110467c5a8b0731182330f538e106aec
parent9852d85ec9d492ebef56dc5f229416c925758edc
auxdisplay: Drop explicit initialization of struct i2c_device_id::driver_data to 0

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@baylibre.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/auxdisplay/ht16k33.c
drivers/auxdisplay/lcd2s.c