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> --- drivers/staging/olpc_dcon/olpc_dcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon/olpc_dcon.c index 4cb904a5f8f4..75809f9fa108 100644 --- a/drivers/staging/olpc_dcon/olpc_dcon.c +++ b/drivers/staging/olpc_dcon/olpc_dcon.c @@ -767,7 +767,7 @@ static const struct dev_pm_ops dcon_pm_ops = { }; static const struct i2c_device_id dcon_idtable[] = { - { "olpc_dcon", 0 }, + { "olpc_dcon" }, { } }; MODULE_DEVICE_TABLE(i2c, dcon_idtable); base-commit: 62f92d634458a1e308bb699986b9147a6d670457 -- 2.45.2