diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-08-04 13:20:31 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-08-07 22:49:12 +1000 |
commit | c4afe3eb04a5fc095a9e3b1b25691f9ed31a52d3 (patch) | |
tree | 6cc8b8c28e0d5a7a46b25509d0599e28665f6cc8 /arch/powerpc/lib/code-patching.c | |
parent | c7907a47bb68a18758edf12fd45e201ff03e2acc (diff) | |
download | linux-c4afe3eb04a5fc095a9e3b1b25691f9ed31a52d3.tar.gz linux-c4afe3eb04a5fc095a9e3b1b25691f9ed31a52d3.tar.bz2 linux-c4afe3eb04a5fc095a9e3b1b25691f9ed31a52d3.zip |
powerpc/476: Drop explicit initialization of struct i2c_device_id::driver_data to 0
This 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>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240804112032.3628645-2-u.kleine-koenig@baylibre.com
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions