[PATCH 2/2] Bluetooth: hci_intel: drop unused assignment of acpi_device_id::driver_data
From: Pawel Zalewski (The Capable Hub)
Date: Mon Jul 27 2026 - 12:05:03 EST
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) <pzalewski@xxxxxxxxxxxxxxxxxxxx>
---
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);
--
2.43.0