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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux