Commit 7997ba1d authored by Rayyan Ansari's avatar Rayyan Ansari Committed by Dmitry Torokhov

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: default avatarRayyan Ansari <rayyan@ansari.sh>
Link: https://lore.kernel.org/r/20221219133717.1638496-1-rayyan@ansari.shSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent b4bb3310
...@@ -505,7 +505,7 @@ static const struct dev_pm_ops rmi_spi_pm = { ...@@ -505,7 +505,7 @@ static const struct dev_pm_ops rmi_spi_pm = {
}; };
static const struct spi_device_id rmi_id[] = { static const struct spi_device_id rmi_id[] = {
{ "rmi4_spi", 0 }, { "rmi4-spi", 0 },
{ } { }
}; };
MODULE_DEVICE_TABLE(spi, rmi_id); MODULE_DEVICE_TABLE(spi, rmi_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment