summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRayyan Ansari <rayyan@ansari.sh>2022-12-19 20:47:49 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-02-04 01:53:40 +0100
commit7997ba1dcd64776879e469300bbcbc53a7d64781 (patch)
treedfd43a6b486a1fe28ef64b289ab6bad3a8aa7e02 /drivers
parentInput: cap11xx - add support for cap1203, cap1293 and cap1298 (diff)
downloadlinux-7997ba1dcd64776879e469300bbcbc53a7d64781.tar.xz
linux-7997ba1dcd64776879e469300bbcbc53a7d64781.zip
Input: synaptics-rmi4 - fix SPI device ID
Currently, the ID being set to "rmi4_spi" causes this warning: "SPI driver rmi4_spi has no spi_device_id for syna,rmi4-spi" Change the ID to rmi4-spi to stop this warning. Signed-off-by: Rayyan Ansari <rayyan@ansari.sh> Link: https://lore.kernel.org/r/20221219133717.1638496-1-rayyan@ansari.sh Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/rmi4/rmi_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/rmi4/rmi_spi.c b/drivers/input/rmi4/rmi_spi.c
index c5c5e7f3401e..852aeb0b2c07 100644
--- a/drivers/input/rmi4/rmi_spi.c
+++ b/drivers/input/rmi4/rmi_spi.c
@@ -505,7 +505,7 @@ static const struct dev_pm_ops rmi_spi_pm = {
};
static const struct spi_device_id rmi_id[] = {
- { "rmi4_spi", 0 },
+ { "rmi4-spi", 0 },
{ }
};
MODULE_DEVICE_TABLE(spi, rmi_id);