Input: cyttsp - drop the phys path
When I test to use the CY8CTMA340 with PostmarketOS I don't have any problem whatsoever in dropping this phys path, it finds and uses the touchscreen just as well. I suppose it is because userspace is using modern input libraries. I challenge the maintainers to point out a valid and still used userspace that actually need this. I say we drop it. Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210408131153.3446138-7-linus.walleij@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
c61ac36fd5
commit
0bffa508d1
|
@ -640,10 +640,8 @@ struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
|
|||
return ERR_PTR(error);
|
||||
|
||||
init_completion(&ts->bl_ready);
|
||||
snprintf(ts->phys, sizeof(ts->phys), "%s/input0", dev_name(dev));
|
||||
|
||||
input_dev->name = "Cypress TTSP TouchScreen";
|
||||
input_dev->phys = ts->phys;
|
||||
input_dev->id.bustype = bus_ops->bustype;
|
||||
input_dev->dev.parent = ts->dev;
|
||||
|
||||
|
|
|
@ -114,7 +114,6 @@ struct cyttsp {
|
|||
struct device *dev;
|
||||
int irq;
|
||||
struct input_dev *input;
|
||||
char phys[32];
|
||||
const struct cyttsp_bus_ops *bus_ops;
|
||||
struct cyttsp_bootloader_data bl_data;
|
||||
struct cyttsp_sysinfo_data sysinfo_data;
|
||||
|
|
Loading…
Reference in New Issue