]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
usb: ljca: Order ACPI hardware IDs alphabetically
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 10 Oct 2025 05:56:24 +0000 (08:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Oct 2025 07:35:28 +0000 (09:35 +0200)
The driver has three lists of ACPI hardware IDs, for GPIO, I²C and SPI.
Order them alphabetically.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20251010055625.4147844-1-sakari.ailus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb-ljca.c

index 1846156c0800f619cd3860584da2846155c45518..dc2ad31ae1524c39b218589f62e23fa251a1e317 100644 (file)
@@ -165,26 +165,26 @@ struct ljca_match_ids_walk_data {
 };
 
 static const struct acpi_device_id ljca_gpio_hids[] = {
+       { "INTC100B" },
        { "INTC1074" },
        { "INTC1096" },
-       { "INTC100B" },
-       { "INTC10D1" },
        { "INTC10B5" },
+       { "INTC10D1" },
        {},
 };
 
 static const struct acpi_device_id ljca_i2c_hids[] = {
+       { "INTC100C" },
        { "INTC1075" },
        { "INTC1097" },
-       { "INTC100C" },
        { "INTC10D2" },
        {},
 };
 
 static const struct acpi_device_id ljca_spi_hids[] = {
+       { "INTC100D" },
        { "INTC1091" },
        { "INTC1098" },
-       { "INTC100D" },
        { "INTC10D3" },
        {},
 };