From 80718e2e0fbce54d57146564455f123daebfe11a Mon Sep 17 00:00:00 2001 From: "Pawel Zalewski (The Capable Hub)" Date: Mon, 27 Jul 2026 16:51:52 +0100 Subject: [PATCH] Bluetooth: hci_intel: drop unused assignment of acpi_device_id::driver_data This module sets the acpi_device_id::driver_data to 0 but the field is not actually used within the module, we can just drop it from the table. While we are at it - use a named initializer for the acpi_device_id::id field and drop setting the list terminator fields explicitly as well. Signed-off-by: Pawel Zalewski (The Capable Hub) Signed-off-by: Luiz Augusto von Dentz --- drivers/bluetooth/hci_intel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bluetooth/hci_intel.c b/drivers/bluetooth/hci_intel.c index c31105b91e47..ecf597f3e201 100644 --- a/drivers/bluetooth/hci_intel.c +++ b/drivers/bluetooth/hci_intel.c @@ -1057,8 +1057,8 @@ static const struct hci_uart_proto intel_proto = { #ifdef CONFIG_ACPI static const struct acpi_device_id intel_acpi_match[] = { - { "INT33E1", 0 }, - { "INT33E3", 0 }, + { .id = "INT33E1" }, + { .id = "INT33E3" }, { } }; MODULE_DEVICE_TABLE(acpi, intel_acpi_match);