Skip to contentSkip to conversation

iio: amplifiers: hmc425a: Remove not fully correct comment

PATCH Applied Andy Shevchenko 3 participants 3 messages Mar 13, 2025 – Mar 15, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: amplifiers: hmc425a: Remove not fully correct comment

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

---
 drivers/iio/amplifiers/hmc425a.c | 1 -
 1 file changed, 1 deletion(-)
drivers/iio/amplifiers/hmc425a.c +0 -1
index d9a359e1388a..e92d7f399e33 100644
@@ -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]},
Signature · 1 line
2.47.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Andy Shevchenko

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

---

Quoted 15 lines

 drivers/iio/amplifiers/hmc425a.c | 1 -

 1 file changed, 1 deletion(-)
drivers/iio/amplifiers/hmc425a.c +0 -0
index d9a359e1388a..e92d7f399e33 100644
@@ -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]},

maintainer Applied
#2 lore raw
Quoted 8 lines · On Thu, 13 Mar 2025 20:48:51 +0000 Nuno Sá <[email protected]> wrote:
Quoted 5 lines · Andy Shevchenko

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

---

Applied.

Quoted 17 lines
Quoted 16 lines

 drivers/iio/amplifiers/hmc425a.c | 1 -

 1 file changed, 1 deletion(-)
drivers/iio/amplifiers/hmc425a.c +0 -0
index d9a359e1388a..e92d7f399e33 100644
@@ -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]},