diff mbox series

[v1,1/1] iio: amplifiers: hmc425a: Remove not fully correct comment

Message ID 20250313162254.416422-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State New
Headers show
Series [v1,1/1] iio: amplifiers: hmc425a: Remove not fully correct comment | expand

Commit Message

Andy Shevchenko March 13, 2025, 4:22 p.m. UTC
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(-)

Comments

Nuno Sá March 13, 2025, 8:48 p.m. UTC | #1
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]},
diff mbox series

Patch

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]},