* [PATCH] staging: iio: Solved warning of undefined string.
@ 2024-09-07 18:25 Fabio Joaquin
2024-09-08 11:33 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Joaquin @ 2024-09-07 18:25 UTC (permalink / raw)
To: linux-staging, gregkh, ~lkcamp/patches
The remove of the line of the referenced string was the forced solution of this source of warning.
The string wasn't defined in the bindings directory, so this was necessary.
Signed-off-by: Fabio Joaquin <joakobar2000@gmail.com>
---
drivers/staging/iio/accel/adis16203.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/iio/accel/adis16203.c b/drivers/staging/iio/accel/adis16203.c
index c0e4c9266b5f4..0255ed6dc300d 100644
--- a/drivers/staging/iio/accel/adis16203.c
+++ b/drivers/staging/iio/accel/adis16203.c
@@ -293,7 +293,6 @@ static int adis16203_probe(struct spi_device *spi)
}
static const struct of_device_id adis16203_of_match[] = {
- { .compatible = "adi,adis16203" },
{ },
};
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] staging: iio: Solved warning of undefined string.
2024-09-07 18:25 [PATCH] staging: iio: Solved warning of undefined string Fabio Joaquin
@ 2024-09-08 11:33 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-09-08 11:33 UTC (permalink / raw)
To: Fabio Joaquin; +Cc: linux-staging, ~lkcamp/patches
On Sat, Sep 07, 2024 at 03:25:14PM -0300, Fabio Joaquin wrote:
> The remove of the line of the referenced string was the forced solution of this source of warning.
What warning exactly?
And please wrap your changelog at 72 columns like your editor asked you
to.
> The string wasn't defined in the bindings directory, so this was necessary.
I can't really understand this sentance, sorry.
>
> Signed-off-by: Fabio Joaquin <joakobar2000@gmail.com>
> ---
> drivers/staging/iio/accel/adis16203.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/iio/accel/adis16203.c b/drivers/staging/iio/accel/adis16203.c
> index c0e4c9266b5f4..0255ed6dc300d 100644
> --- a/drivers/staging/iio/accel/adis16203.c
> +++ b/drivers/staging/iio/accel/adis16203.c
> @@ -293,7 +293,6 @@ static int adis16203_probe(struct spi_device *spi)
> }
>
> static const struct of_device_id adis16203_of_match[] = {
> - { .compatible = "adi,adis16203" },
So now this driver doesn't bind to anything?
confused,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-08 11:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-07 18:25 [PATCH] staging: iio: Solved warning of undefined string Fabio Joaquin
2024-09-08 11:33 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox