From: Uwe Kleine-König Date: Mon, 8 Jul 2024 15:25:30 +0000 (+0200) Subject: ARM: s3c: Drop explicit initialization of struct i2c_device_id::driver_data to 0 X-Git-Tag: v6.12-rc1~185^2~2^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c652cfd1d31ebcb54fba1fc19dcd8691c5ba9474;p=thirdparty%2Flinux.git ARM: s3c: Drop explicit initialization of struct i2c_device_id::driver_data to 0 The wlf-gf-module driver doesn'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 Link: https://lore.kernel.org/r/20240708152530.19306-2-u.kleine-koenig@baylibre.com Signed-off-by: Krzysztof Kozlowski --- diff --git a/arch/arm/mach-s3c/mach-crag6410-module.c b/arch/arm/mach-s3c/mach-crag6410-module.c index 2de1a89f6e997..4ffcf024b09df 100644 --- a/arch/arm/mach-s3c/mach-crag6410-module.c +++ b/arch/arm/mach-s3c/mach-crag6410-module.c @@ -446,7 +446,7 @@ static int wlf_gf_module_probe(struct i2c_client *i2c) } static const struct i2c_device_id wlf_gf_module_id[] = { - { "wlf-gf-module", 0 }, + { "wlf-gf-module" }, { } };