of/device.c: fix the wrong comments
authorJojo Zeng <jojo_zeng@126.com>
Thu, 25 Apr 2019 01:45:54 +0000 (09:45 +0800)
committerRob Herring <robh@kernel.org>
Wed, 1 May 2019 18:41:07 +0000 (13:41 -0500)
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@126.com>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/device.c

index 3717f2a..da81583 100644 (file)
@@ -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