]> git.itanic.dy.fi Git - linux-stable/commit
platform/x86: touchscreen_dmi: Consolidate Goodix upside-down touchscreen data
authorHans de Goede <hdegoede@redhat.com>
Mon, 12 Feb 2024 12:06:08 +0000 (13:06 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 19 Feb 2024 11:42:58 +0000 (12:42 +0100)
commitf0ddb8a9021305e4e4e4179a2e47ecea6170d55d
tree7238af24d9b0758841224b02e0cbb2c88de0bcfb
parentdbcbfd662a725641d118fb3ae5ffb7be4e3d0fb0
platform/x86: touchscreen_dmi: Consolidate Goodix upside-down touchscreen data

Now that prefix matches for ACPI names are supported, the ts_dmi_data
structs for "GDIX1001:00" and "GDIX1001:01" can be consolidated into
a single match matching on "GDIX1001".

For consistency also change gdix1002_00_upside_down_data to match.

Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240212120608.30469-2-hdegoede@redhat.com
drivers/platform/x86/touchscreen_dmi.c