Input: tsc200x - report proper input_dev name
authorMichael Welling <[email protected]>
Wed, 20 Jul 2016 17:02:07 +0000 (10:02 -0700)
committerDmitry Torokhov <[email protected]>
Thu, 21 Jul 2016 00:50:24 +0000 (17:50 -0700)
commite9003c9cfaa17d26991688268b04244adb67ee2b
treec3faf81b0fb86053c3f407dd1e2b6a8f7a04a38c
parent510cccb5b0c8868a2b302a0ab524da7912da648b
Input: tsc200x - report proper input_dev name

Passes input_id struct to the common probe function for the tsc200x drivers
instead of just the bustype.

This allows for the use of the product variable to set the input_dev->name
variable according to the type of touchscreen used. Note that when we
introduced support for TSC2004 we started calling everything TSC200X, so
let's keep this quirk.

Signed-off-by: Michael Welling <[email protected]>
Cc: [email protected]
Acked-by: Pavel Machek <[email protected]>
Acked-by: Pali Rohár <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/touchscreen/tsc2004.c
drivers/input/touchscreen/tsc2005.c
drivers/input/touchscreen/tsc200x-core.c
drivers/input/touchscreen/tsc200x-core.h