tpm: Drop explicit initialization of struct i2c_device_id::driver_data to 0
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Mon, 9 Sep 2024 17:26:47 +0000 (20:26 +0300)
committerJarkko Sakkinen <jarkko@kernel.org>
Tue, 17 Sep 2024 15:56:37 +0000 (18:56 +0300)
commite5d76ae8822cf52e4f56a507205d27e8d8b53ec8
tree81effe26bbb9641f2dd4dba351c490f74bd86b24
parent27141f1950b8e40499a7aa95341cd5a37029a097
tpm: 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: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/st33zp24/i2c.c
drivers/char/tpm/tpm_i2c_atmel.c
drivers/char/tpm/tpm_tis_i2c.c