summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/cxd2099.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-05-08 16:20:42 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-08-09 08:56:37 +0300
commitcc4cbd4b4f97a968203530ef73598ad2eaf70dee (patch)
tree974f2ffcb1698fe3afe53026e9602e8b9d337eb6 /drivers/media/dvb-frontends/cxd2099.c
parent343cb1ec7b3dd626e4b93b27d7aff604b06453e9 (diff)
downloadlinux-cc4cbd4b4f97a968203530ef73598ad2eaf70dee.tar.xz
media: 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. While add it, also remove commas after the sentinel entries. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2099.c')
-rw-r--r--drivers/media/dvb-frontends/cxd2099.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/cxd2099.c b/drivers/media/dvb-frontends/cxd2099.c
index 3f3b85743666..5e6e18819a0d 100644
--- a/drivers/media/dvb-frontends/cxd2099.c
+++ b/drivers/media/dvb-frontends/cxd2099.c
@@ -672,7 +672,7 @@ static void cxd2099_remove(struct i2c_client *client)
}
static const struct i2c_device_id cxd2099_id[] = {
- {"cxd2099", 0},
+ { "cxd2099" },
{}
};
MODULE_DEVICE_TABLE(i2c, cxd2099_id);