public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: adc: ad7173: Fix incorrect compatible string
@ 2024-07-23 11:13 Dumitru Ceclan
  2024-07-24  7:45 ` Nuno Sá
  0 siblings, 1 reply; 3+ messages in thread
From: Dumitru Ceclan @ 2024-07-23 11:13 UTC (permalink / raw)
  To: mitrutzceclan; +Cc: jic23, dlechner, dumitru.ceclan, linux-iio, linux-kernel

Wrong compatible strings are used for AD411x devices.
Fix by adding the missing "adi," prefix.

Fixes: 13d12e3ad12d ("iio: adc: ad7173: Add support for AD411x devices")
Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com>
---
 drivers/iio/adc/ad7173.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c
index 9544bf7142ad..a854f2d30174 100644
--- a/drivers/iio/adc/ad7173.c
+++ b/drivers/iio/adc/ad7173.c
@@ -1435,11 +1435,11 @@ static int ad7173_probe(struct spi_device *spi)
 }
 
 static const struct of_device_id ad7173_of_match[] = {
-	{ .compatible = "ad4111",	.data = &ad4111_device_info },
-	{ .compatible = "ad4112",	.data = &ad4112_device_info },
-	{ .compatible = "ad4114",	.data = &ad4114_device_info },
-	{ .compatible = "ad4115",	.data = &ad4115_device_info },
-	{ .compatible = "ad4116",	.data = &ad4116_device_info },
+	{ .compatible = "adi,ad4111",	.data = &ad4111_device_info },
+	{ .compatible = "adi,ad4112",	.data = &ad4112_device_info },
+	{ .compatible = "adi,ad4114",	.data = &ad4114_device_info },
+	{ .compatible = "adi,ad4115",	.data = &ad4115_device_info },
+	{ .compatible = "adi,ad4116",	.data = &ad4116_device_info },
 	{ .compatible = "adi,ad7172-2", .data = &ad7172_2_device_info },
 	{ .compatible = "adi,ad7172-4", .data = &ad7172_4_device_info },
 	{ .compatible = "adi,ad7173-8", .data = &ad7173_8_device_info },
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: adc: ad7173: Fix incorrect compatible string
  2024-07-23 11:13 [PATCH] iio: adc: ad7173: Fix incorrect compatible string Dumitru Ceclan
@ 2024-07-24  7:45 ` Nuno Sá
  2024-07-27 13:57   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Nuno Sá @ 2024-07-24  7:45 UTC (permalink / raw)
  To: Dumitru Ceclan; +Cc: jic23, dlechner, dumitru.ceclan, linux-iio, linux-kernel

On Tue, 2024-07-23 at 14:13 +0300, Dumitru Ceclan wrote:
> Wrong compatible strings are used for AD411x devices.
> Fix by adding the missing "adi," prefix.
> 
> Fixes: 13d12e3ad12d ("iio: adc: ad7173: Add support for AD411x devices")
> Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com>
> ---

Reviewed-by: Nuno Sa <nuno.sa@analog.com>




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] iio: adc: ad7173: Fix incorrect compatible string
  2024-07-24  7:45 ` Nuno Sá
@ 2024-07-27 13:57   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2024-07-27 13:57 UTC (permalink / raw)
  To: Nuno Sá
  Cc: Dumitru Ceclan, dlechner, dumitru.ceclan, linux-iio, linux-kernel

On Wed, 24 Jul 2024 09:45:25 +0200
Nuno Sá <noname.nuno@gmail.com> wrote:

> On Tue, 2024-07-23 at 14:13 +0300, Dumitru Ceclan wrote:
> > Wrong compatible strings are used for AD411x devices.
> > Fix by adding the missing "adi," prefix.
> > 
> > Fixes: 13d12e3ad12d ("iio: adc: ad7173: Add support for AD411x devices")
> > Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com>
> > ---  
> 
> Reviewed-by: Nuno Sa <nuno.sa@analog.com>
> 
Applied to the fixes-togreg branch of iio.git

Thanks,

Jonathan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-27 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-23 11:13 [PATCH] iio: adc: ad7173: Fix incorrect compatible string Dumitru Ceclan
2024-07-24  7:45 ` Nuno Sá
2024-07-27 13:57   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox