[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8735802qm3.fsf@baylibre.com>
Date: Tue, 24 Jan 2023 11:07:00 +0100
From: Mattijs Korpershoek <mkorpershoek@...libre.com>
To: Rayyan Ansari <rayyan@...ari.sh>, linux-input@...r.kernel.org
Cc: ~postmarketos/upstreaming@...ts.sr.ht,
Rayyan Ansari <rayyan@...ari.sh>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: synaptics-rmi4: Fix SPI device ID
On Mon, Dec 19, 2022 at 13:37, Rayyan Ansari <rayyan@...ari.sh> wrote:
> 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@...ari.sh>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@...libre.com>
> ---
> drivers/input/rmi4/rmi_spi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/input/rmi4/rmi_spi.c b/drivers/input/rmi4/rmi_spi.c
> index c82edda66b23..aa3a6a8544d4 100644
> --- a/drivers/input/rmi4/rmi_spi.c
> +++ b/drivers/input/rmi4/rmi_spi.c
> @@ -510,7 +510,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);
> --
> 2.39.0
Powered by blists - more mailing lists