mirror of https://github.com/torvalds/linux.git
Input: novatek-nvt-ts - replace generic i2c device id with specific IC variant
This is done in preparation to introduce other variants of the Novatek NVT touchscreen controller that can be supported by the driver. Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20240601-nvt-ts-devicetree-regulator-support-v5-1-aa9bf986347d@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
55bef83509
commit
c12fbeb200
|
|
@ -278,7 +278,7 @@ static int nvt_ts_probe(struct i2c_client *client)
|
|||
}
|
||||
|
||||
static const struct i2c_device_id nvt_ts_i2c_id[] = {
|
||||
{ "NVT-ts" },
|
||||
{ "nt11205-ts" },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(i2c, nvt_ts_i2c_id);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ static const struct x86_i2c_client_info acer_b1_750_i2c_clients[] __initconst =
|
|||
{
|
||||
/* Novatek NVT-ts touchscreen */
|
||||
.board_info = {
|
||||
.type = "NVT-ts",
|
||||
.type = "nt11205-ts",
|
||||
.addr = 0x34,
|
||||
.dev_name = "NVT-ts",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue