]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ARM: s3c: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Mon, 8 Jul 2024 15:25:30 +0000 (17:25 +0200)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 29 Jul 2024 12:24:30 +0000 (14:24 +0200)
commitc652cfd1d31ebcb54fba1fc19dcd8691c5ba9474
tree52872ec8d83209f725445a8efff9acb2d0e42eb1
parent8400291e289ee6b2bf9779ff1c83a291501f017b
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 <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20240708152530.19306-2-u.kleine-koenig@baylibre.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/mach-s3c/mach-crag6410-module.c