]> www.infradead.org Git - users/dwmw2/linux.git/commit
fbdev: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Mon, 24 Jun 2024 13:29:04 +0000 (15:29 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 24 Jun 2024 13:57:42 +0000 (15:57 +0200)
commitc260bda655993bf72d3f9a6df9e9021c3c1cd1be
treef771a83ea6817acb6b5c528041dae8e085e084e6
parente4066d17b92ea7930fbef990912c49b07430a6e0
fbdev: 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>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/matrox/matroxfb_maven.c
drivers/video/fbdev/ssd1307fb.c