Input: cyttsp - probe from compatibles
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 26 May 2021 23:34:41 +0000 (16:34 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 26 May 2021 23:58:59 +0000 (16:58 -0700)
commit007704c99f52e22cd93bcc16c610d7c1a41fd9cd
treebd08261ffdc7ffcf9ed385f823474d4ec19a4920
parent4b48d935a5e027188d5fd6fd3ce2ee2da1811a0e
Input: cyttsp - probe from compatibles

The driver (both SPI and I2C interface) should probe from the compatible
strings, cypress,cy8ctma340 etc when using device tree, not as now, where
it is probing implicitly from the I2C/SPI node name "cypress,cyttsp-i2c"
etc.

Reviewed-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210526230352.1433537-2-linus.walleij@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/cyttsp_i2c.c
drivers/input/touchscreen/cyttsp_spi.c