summaryrefslogtreecommitdiffstats
path: root/drivers/of/device.c
diff options
context:
space:
mode:
authorJojo Zeng <jojo_zeng@126.com>2019-04-25 03:45:54 +0200
committerRob Herring <robh@kernel.org>2019-05-01 20:41:07 +0200
commit8e94fd36220cb541ab536214bd9993035251cd5c (patch)
tree35e3715e42ba722c51aad23706465bbeae04310b /drivers/of/device.c
parentdt-bindings: Add isl68137 as a trivial device (diff)
downloadlinux-8e94fd36220cb541ab536214bd9993035251cd5c.tar.xz
linux-8e94fd36220cb541ab536214bd9993035251cd5c.zip
of/device.c: fix the wrong comments
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>
Diffstat (limited to 'drivers/of/device.c')
-rw-r--r--drivers/of/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/device.c b/drivers/of/device.c
index 3717f2a20d0d..da8158392010 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