platform/x86: x86-android-tablets: Remove unnecessary invalid_aei_gpiochip settings
authorHans de Goede <hdegoede@redhat.com>
Sat, 29 Apr 2023 10:50:56 +0000 (12:50 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 9 May 2023 09:54:42 +0000 (11:54 +0200)
Since commit 5adc409340b1 ("ACPI: x86: Introduce an
acpi_quirk_skip_gpio_event_handlers() helper") the ACPI GPIO code will
not register any GPIO event handlers at all for devices which have
the ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS set in their DMI table entry
in drivers/acpi/x86/utils.c .

This includes the Nextbook Ares 8 and the Asus ME176C and TF103C models,
so x86-android-tablets no longer needs to disable the GPIO event handlers
on these, since they have never been registered at all.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230429105057.7697-2-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets/asus.c
drivers/platform/x86/x86-android-tablets/other.c

index cfa038b..2aca916 100644 (file)
@@ -178,7 +178,6 @@ const struct x86_dev_info asus_me176c_info __initconst = {
        .gpiod_lookup_tables = asus_me176c_gpios,
        .bat_swnode = &generic_lipo_hv_4v35_battery_node,
        .modules = bq24190_modules,
-       .invalid_aei_gpiochip = "INT33FC:02",
 };
 
 /* Asus TF103C tablets have an Android factory img with everything hardcoded */
@@ -321,5 +320,4 @@ const struct x86_dev_info asus_tf103c_info __initconst = {
        .gpiod_lookup_tables = asus_tf103c_gpios,
        .bat_swnode = &asus_tf103c_battery_node,
        .modules = bq24190_modules,
-       .invalid_aei_gpiochip = "INT33FC:02",
 };
index 83cd7e1..fb512c0 100644 (file)
@@ -377,7 +377,6 @@ const struct x86_dev_info nextbook_ares8_info __initconst = {
        .pdev_info = int3496_pdevs,
        .pdev_count = 1,
        .gpiod_lookup_tables = nextbook_ares8_gpios,
-       .invalid_aei_gpiochip = "INT33FC:02",
 };
 
 /*