aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJojo Zeng <jojo_zeng@126.com>2019-04-24 21:45:54 -0400
committerRob Herring <robh@kernel.org>2019-05-01 14:41:07 -0400
commit8e94fd36220cb541ab536214bd9993035251cd5c (patch)
tree35e3715e42ba722c51aad23706465bbeae04310b
parent57ddd16b111ba865cab2fa6188f72adb54332b1e (diff)
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>
-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 @@
17 17
18/** 18/**
19 * of_match_device - Tell if a struct device matches an of_device_id list 19 * of_match_device - Tell if a struct device matches an of_device_id list
20 * @ids: array of of device match structures to search in 20 * @matches: array of of device match structures to search in
21 * @dev: the of device structure to match against 21 * @dev: the of device structure to match against
22 * 22 *
23 * Used by a driver to check whether an platform_device present in the 23 * Used by a driver to check whether an platform_device present in the