summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-20 09:01:29 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-29 13:55:58 +0800
commit42a58f08b70a7a320c168a1ce15e3fcfc8568708 (patch)
treeb95fc239b3c590afdf5b516aebeb0adc73cb6a02 /scripts/Makefile.thinlto
parent5ec1a676301ad1adab10e6200ead363e5efb4e15 (diff)
crypto: atmel-sha204a - Use named initializers for struct i2c_device_id
While being less compact, using named initializers allows to more easily see which members of the structs are assigned which value without having to lookup the declaration of the struct. And it's also more robust against changes to the struct definition. This patch doesn't modify the compiled array, only its representation in source form benefits. The former was confirmed with x86 and arm64 builds. For consistency also assign .driver_data for the array item that the driver relies on i2c_get_match_data() returning NULL for. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions