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

From: Nuno Sá
Date: Thu Mar 13 2025 - 16:48:45 EST


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@xxxxxxxxxxxxxxx>
> ---

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

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