diff options
author | Rayyan Ansari <rayyan@ansari.sh> | 2022-12-19 22:47:49 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-02-04 03:53:40 +0300 |
commit | 7997ba1dcd64776879e469300bbcbc53a7d64781 (patch) | |
tree | dfd43a6b486a1fe28ef64b289ab6bad3a8aa7e02 /drivers/input | |
parent | b4bb3310727e978fddcc444355a545966a9d10ea (diff) | |
download | linux-7997ba1dcd64776879e469300bbcbc53a7d64781.tar.xz |
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/input')
-rw-r--r-- | drivers/input/rmi4/rmi_spi.c | 2 |
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); |