Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Rayyan Ansari and committed by
Dmitry Torokhov
7997ba1d b4bb3310

+1 -1
+1 -1
drivers/input/rmi4/rmi_spi.c
··· 505 505 }; 506 506 507 507 static const struct spi_device_id rmi_id[] = { 508 - { "rmi4_spi", 0 }, 508 + { "rmi4-spi", 0 }, 509 509 { } 510 510 }; 511 511 MODULE_DEVICE_TABLE(spi, rmi_id);