Skip to content

Commit 7997ba1

Browse files
RayyanAnsaridtor
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent b4bb331 commit 7997ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/rmi4/rmi_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ static const struct dev_pm_ops rmi_spi_pm = {
505505
};
506506

507507
static const struct spi_device_id rmi_id[] = {
508-
{ "rmi4_spi", 0 },
508+
{ "rmi4-spi", 0 },
509509
{ }
510510
};
511511
MODULE_DEVICE_TABLE(spi, rmi_id);

0 commit comments

Comments
 (0)