input: goodix: Include I2C details in names for the devices
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 8 Nov 2023 16:20:27 +0000 (16:20 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:16 +0000 (11:35 +0000)
commitcd927c467ac012f492357fcb9a85ca2f5dd06ad4
treec7bef46bae51af420de94ca41ac097ef68be02fa
parent3b986550d95a71aabfaa71a51a41b03e6d2e9deb
input: goodix: Include I2C details in names for the devices

libinput uses the input device name alone. If you have two
identical input devices, then there is no way to differentiate
between them, and in the case of touchscreens that means no
way to associate them with the appropriate display device.

Add the I2C bus and address to the start of the input device
name so that the name is always unique within the system.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/input/touchscreen/goodix.c
drivers/input/touchscreen/goodix.h