[PATCH v1 04/20] gpio: ljca: Drop unused assignment of auxiliary_device_id driver data

From: Uwe Kleine-König (The Capable Hub)

Date: Tue Jul 14 2026 - 03:25:51 EST


The driver explicitly sets the .driver_data member of struct
auxiliary_device_id to zero without relying on that value. Drop this
unused assignment.

This patch doesn't modify the compiled array, only its representation
in source form benefits.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/gpio/gpio-ljca.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-ljca.c b/drivers/gpio/gpio-ljca.c
index f32d1d237795..ad5dc9a3a119 100644
--- a/drivers/gpio/gpio-ljca.c
+++ b/drivers/gpio/gpio-ljca.c
@@ -472,7 +472,7 @@ static void ljca_gpio_remove(struct auxiliary_device *auxdev)
}

static const struct auxiliary_device_id ljca_gpio_id_table[] = {
- { "usb_ljca.ljca-gpio", 0 },
+ { "usb_ljca.ljca-gpio" },
{ /* sentinel */ },
};
MODULE_DEVICE_TABLE(auxiliary, ljca_gpio_id_table);
--
2.55.0.11.g153666a7d9bb