]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86: x86-android-tablets: Fix acer_b1_750_goodix_gpios name
authorHans de Goede <hdegoede@redhat.com>
Fri, 16 Feb 2024 20:17:21 +0000 (21:17 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:12 +0000 (18:19 -0400)
[ Upstream commit 8215ca518164d35f10c0b5545c8bb80f538638b8 ]

The Acer B1 750 tablet used a Novatek NVT-ts touchscreen,
not a Goodix touchscreen.

Rename acer_b1_750_goodix_gpios to acer_b1_750_nvt_ts_gpios
to correctly reflect this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240216201721.239791-5-hdegoede@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/x86-android-tablets/other.c

index e79549c6aae17412fa80117ac298a7ede00883e3..fe5f68fa7bca76f8b7617f4f1bc5f31abae8f59f 100644 (file)
@@ -66,7 +66,7 @@ static const struct x86_i2c_client_info acer_b1_750_i2c_clients[] __initconst =
        },
 };
 
-static struct gpiod_lookup_table acer_b1_750_goodix_gpios = {
+static struct gpiod_lookup_table acer_b1_750_nvt_ts_gpios = {
        .dev_id = "i2c-NVT-ts",
        .table = {
                GPIO_LOOKUP("INT33FC:01", 26, "reset", GPIO_ACTIVE_LOW),
@@ -75,7 +75,7 @@ static struct gpiod_lookup_table acer_b1_750_goodix_gpios = {
 };
 
 static struct gpiod_lookup_table * const acer_b1_750_gpios[] = {
-       &acer_b1_750_goodix_gpios,
+       &acer_b1_750_nvt_ts_gpios,
        &int3496_reference_gpios,
        NULL
 };