aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/cyttsp_spi.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2021-06-01 16:37:54 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-06-01 21:13:11 -0700
commitd27ac0fba71cfd4da45f1ba6564f32ddd2914cc4 (patch)
tree7cb0a78486af84e9417855abe7e8e5e3d49af943 /drivers/input/touchscreen/cyttsp_spi.c
parentInput: cyttsp - change maintainer (diff)
downloadlinux-dev-d27ac0fba71cfd4da45f1ba6564f32ddd2914cc4.tar.xz
linux-dev-d27ac0fba71cfd4da45f1ba6564f32ddd2914cc4.zip
Input: cyttsp - remove public header
There is nothing in include/linux/input/cyttsp.h that might be of interes to the kernel at large, so let's move this information into the driver code and remove the header. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210531052307.1433979-2-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/cyttsp_spi.c')
-rw-r--r--drivers/input/touchscreen/cyttsp_spi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/cyttsp_spi.c b/drivers/input/touchscreen/cyttsp_spi.c
index 8715e5354d79..30c6fbf86a86 100644
--- a/drivers/input/touchscreen/cyttsp_spi.c
+++ b/drivers/input/touchscreen/cyttsp_spi.c
@@ -20,6 +20,8 @@
#include <linux/input.h>
#include <linux/spi/spi.h>
+#define CY_SPI_NAME "cyttsp-spi"
+
#define CY_SPI_WR_OP 0x00 /* r/~w */
#define CY_SPI_RD_OP 0x01
#define CY_SPI_CMD_BYTES 4