nfc: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Wed, 19 Jun 2024 19:56:31 +0000 (21:56 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Jun 2024 02:28:31 +0000 (19:28 -0700)
commit0d6b1eb660be4c7817fc4686a85caf430d6111d0
tree7992ec9f86c82358574b56b010176dfe4fd14c3b
parenta6ec08beec9ea93f342d6daeac922208709694dc
nfc: 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>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240619195631.2545407-2-u.kleine-koenig@baylibre.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/nfc/microread/i2c.c
drivers/nfc/nfcmrvl/i2c.c
drivers/nfc/nxp-nci/i2c.c
drivers/nfc/pn533/i2c.c
drivers/nfc/pn544/i2c.c
drivers/nfc/s3fwrn5/i2c.c
drivers/nfc/st-nci/i2c.c
drivers/nfc/st21nfca/i2c.c