crypto: atmel - Drop explicit initialization of struct i2c_device_id::driver_data...
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Wed, 18 Sep 2024 12:31:52 +0000 (14:31 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 5 Oct 2024 05:22:05 +0000 (13:22 +0800)
commitd86ad3911a5d4549297ed810ee450e5772fd665f
treec83cea2629dd2ad2b051100a86be8ef15692ca5d
parent7bfdfd83e952c95741f3ef96ffebc5403c6a4dfc
crypto: atmel - 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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-ecc.c
drivers/crypto/atmel-sha204a.c