pinctrl: aw9523: Drop explicit initialization of struct i2c_device_id::driver_data...
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Fri, 20 Sep 2024 15:34:31 +0000 (17:34 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Oct 2024 14:21:46 +0000 (16:21 +0200)
commitaf8e4812288181f9a9af27b1df5da366bdcce740
tree1e81d5f5e1c9c44915d98f276558f9756de07d91
parentb698f36a9d4079b59af18be71ac95310fa241485
pinctrl: aw9523: 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>
Link: https://lore.kernel.org/20240920153430.503212-13-u.kleine-koenig@baylibre.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-aw9523.c