iio: amplifiers: hmc425a: Remove not fully correct comment
Subsystems (2)
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
@@ -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
Quoted 5 lines · Andy Shevchenko
The OF match table can be used outside of OF-based platforms. Remove the (misleading) comment.
Signed-off-by Andy Shevchenko <[email protected]>---
Quoted 15 lines
drivers/iio/amplifiers/hmc425a.c | 1 -
1 file changed, 1 deletion(-)drivers/iio/amplifiers/hmc425a.c +0
-0@@ -398,7 +398,6 @@ static int hmc425a_probe(struct platform_device *pdev) return devm_iio_device_register(&pdev->dev, indio_dev); }
-/* Match table forof_platformbinding */ static const structof_device_idhmc425a_of_match[] = { { .compatible = "adi,hmc425a",
.data = &hmc425a_chip_info_tbl[ID_HMC425A]},
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.
Signed-off-by Andy Shevchenko <[email protected]>---
Reviewed-by Nuno Sá <[email protected]>
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@@ -398,7 +398,6 @@ static int hmc425a_probe(struct platform_device *pdev) return devm_iio_device_register(&pdev->dev, indio_dev); }
-/* Match table forof_platformbinding */ static const structof_device_idhmc425a_of_match[] = { { .compatible = "adi,hmc425a",
.data = &hmc425a_chip_info_tbl[ID_HMC425A]},