linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/1] iio: amplifiers: hmc425a: Remove not fully correct comment
@ 2025-03-13 16:22 Andy Shevchenko
  2025-03-13 20:48 ` Nuno Sá
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2025-03-13 16:22 UTC (permalink / raw)
  To: David Lechner, linux-iio, linux-kernel
  Cc: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Andy Shevchenko

The OF match table can be used outside of OF-based platforms.
Remove the (misleading) comment.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/iio/amplifiers/hmc425a.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/amplifiers/hmc425a.c b/drivers/iio/amplifiers/hmc425a.c
index d9a359e1388a..e92d7f399e33 100644
--- a/drivers/iio/amplifiers/hmc425a.c
+++ b/drivers/iio/amplifiers/hmc425a.c
@@ -398,7 +398,6 @@ static int hmc425a_probe(struct platform_device *pdev)
 	return devm_iio_device_register(&pdev->dev, indio_dev);
 }
 
-/* Match table for of_platform binding */
 static const struct of_device_id hmc425a_of_match[] = {
 	{ .compatible = "adi,hmc425a",
 	  .data = &hmc425a_chip_info_tbl[ID_HMC425A]},
-- 
2.47.2


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

* Re: [PATCH v1 1/1] iio: amplifiers: hmc425a: Remove not fully correct comment
  2025-03-13 16:22 [PATCH v1 1/1] iio: amplifiers: hmc425a: Remove not fully correct comment Andy Shevchenko
@ 2025-03-13 20:48 ` Nuno Sá
  2025-03-15 12:57   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Nuno Sá @ 2025-03-13 20:48 UTC (permalink / raw)
  To: Andy Shevchenko, David Lechner, linux-iio, linux-kernel
  Cc: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron

On Thu, 2025-03-13 at 18:22 +0200, Andy Shevchenko wrote:
> The OF match table can be used outside of OF-based platforms.
> Remove the (misleading) comment.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---

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

>  drivers/iio/amplifiers/hmc425a.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/amplifiers/hmc425a.c b/drivers/iio/amplifiers/hmc425a.c
> index d9a359e1388a..e92d7f399e33 100644
> --- a/drivers/iio/amplifiers/hmc425a.c
> +++ b/drivers/iio/amplifiers/hmc425a.c
> @@ -398,7 +398,6 @@ static int hmc425a_probe(struct platform_device *pdev)
>  	return devm_iio_device_register(&pdev->dev, indio_dev);
>  }
>  
> -/* Match table for of_platform binding */
>  static const struct of_device_id hmc425a_of_match[] = {
>  	{ .compatible = "adi,hmc425a",
>  	  .data = &hmc425a_chip_info_tbl[ID_HMC425A]},


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

* Re: [PATCH v1 1/1] iio: amplifiers: hmc425a: Remove not fully correct comment
  2025-03-13 20:48 ` Nuno Sá
@ 2025-03-15 12:57   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2025-03-15 12:57 UTC (permalink / raw)
  To: Nuno Sá
  Cc: Andy Shevchenko, David Lechner, linux-iio, linux-kernel,
	Lars-Peter Clausen, Michael Hennerich

On Thu, 13 Mar 2025 20:48:51 +0000
Nuno Sá <noname.nuno@gmail.com> wrote:

> On Thu, 2025-03-13 at 18:22 +0200, Andy Shevchenko wrote:
> > The OF match table can be used outside of OF-based platforms.
> > Remove the (misleading) comment.
> > 
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---  
> 
> Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Applied.
> 
> >  drivers/iio/amplifiers/hmc425a.c | 1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/drivers/iio/amplifiers/hmc425a.c b/drivers/iio/amplifiers/hmc425a.c
> > index d9a359e1388a..e92d7f399e33 100644
> > --- a/drivers/iio/amplifiers/hmc425a.c
> > +++ b/drivers/iio/amplifiers/hmc425a.c
> > @@ -398,7 +398,6 @@ static int hmc425a_probe(struct platform_device *pdev)
> >  	return devm_iio_device_register(&pdev->dev, indio_dev);
> >  }
> >  
> > -/* Match table for of_platform binding */
> >  static const struct of_device_id hmc425a_of_match[] = {
> >  	{ .compatible = "adi,hmc425a",
> >  	  .data = &hmc425a_chip_info_tbl[ID_HMC425A]},  
> 


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

end of thread, other threads:[~2025-03-15 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-13 16:22 [PATCH v1 1/1] iio: amplifiers: hmc425a: Remove not fully correct comment Andy Shevchenko
2025-03-13 20:48 ` Nuno Sá
2025-03-15 12: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;
as well as URLs for NNTP newsgroup(s).