summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/matrox/matroxfb_maven.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-06-24 16:29:04 +0300
committerHelge Deller <deller@gmx.de>2024-06-24 16:57:42 +0300
commitc260bda655993bf72d3f9a6df9e9021c3c1cd1be (patch)
treef771a83ea6817acb6b5c528041dae8e085e084e6 /drivers/video/fbdev/matrox/matroxfb_maven.c
parente4066d17b92ea7930fbef990912c49b07430a6e0 (diff)
downloadlinux-c260bda655993bf72d3f9a6df9e9021c3c1cd1be.tar.xz
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>
Diffstat (limited to 'drivers/video/fbdev/matrox/matroxfb_maven.c')
-rw-r--r--drivers/video/fbdev/matrox/matroxfb_maven.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/matrox/matroxfb_maven.c b/drivers/video/fbdev/matrox/matroxfb_maven.c
index b15a8ad92ba7..dcfae770b42d 100644
--- a/drivers/video/fbdev/matrox/matroxfb_maven.c
+++ b/drivers/video/fbdev/matrox/matroxfb_maven.c
@@ -1282,7 +1282,7 @@ static void maven_remove(struct i2c_client *client)
}
static const struct i2c_device_id maven_id[] = {
- { "maven", 0 },
+ { "maven" },
{ }
};
MODULE_DEVICE_TABLE(i2c, maven_id);