Re: [PATCH] of/device.c: fix the wrong comments

From: Frank Rowand
Date: Fri Apr 26 2019 - 15:31:26 EST


On 4/24/19 6:45 PM, jojo_zeng@xxxxxxx wrote:
> From: Jojo Zeng <jojo_zeng@xxxxxxx>
>
> the comments which discribed the input parameters of of_match_device().
> the name is changed, so fix it.
>
> Signed-off-by: Jojo Zeng <jojo_zeng@xxxxxxx>
> ---
> drivers/of/device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/of/device.c b/drivers/of/device.c
> index 3717f2a..da81583 100644
> --- a/drivers/of/device.c
> +++ b/drivers/of/device.c
> @@ -17,7 +17,7 @@
>
> /**
> * of_match_device - Tell if a struct device matches an of_device_id list
> - * @ids: array of of device match structures to search in
> + * @matches: array of of device match structures to search in
> * @dev: the of device structure to match against
> *
> * Used by a driver to check whether an platform_device present in the
>


Reviewed-by: Frank Rowand <frank.rowand@xxxxxxxx>