Skip to content

Commit

Permalink
platform/x86: x86-android-tablets: Fix acer_b1_750_goodix_gpios name
Browse files Browse the repository at this point in the history
[ Upstream commit 8215ca5 ]

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>
  • Loading branch information
jwrdegoede authored and Sasha Levin committed Mar 26, 2024
1 parent 75bb19e commit bf9e4b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/platform/x86/x86-android-tablets/other.c
Expand Up @@ -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),
Expand All @@ -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
};
Expand Down

0 comments on commit bf9e4b5

Please sign in to comment.