Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Input: cyttsp5 - remove unused code

The removed lines are remnants of the vendor driver and are not used in
the upstream driver.

Signed-off-by: Maximilian Weigand <mweigand@mweigand.net>
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20230501113010.891786-3-mweigand@mweigand.net
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Maximilian Weigand and committed by
Dmitry Torokhov
14d55bc3 d09dbc7a

-5
-5
drivers/input/touchscreen/cyttsp5.c
··· 600 600 struct cyttsp5_hid_desc *desc) 601 601 { 602 602 struct device *dev = ts->dev; 603 - __le16 hid_desc_register = cpu_to_le16(HID_DESC_REG); 604 603 int rc; 605 - u8 cmd[2]; 606 - 607 - /* Set HID descriptor register */ 608 - memcpy(cmd, &hid_desc_register, sizeof(hid_desc_register)); 609 604 610 605 rc = cyttsp5_write(ts, HID_DESC_REG, NULL, 0); 611 606 if (rc) {