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