aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRolf Eike Beer <eike-kernel@sf-tec.de>2015-09-04 14:49:14 -0400
committerJiri Kosina <jkosina@suse.cz>2015-09-29 09:23:14 -0400
commit1207775428d57508fd1b4c9403833463a6b632c2 (patch)
tree67cf5df5148bcb31a0f14948b84f79da5723407c
parent636db7a96cbd95f7842246a3f5f842ba791cd393 (diff)
class_find_device: fix reference to argument "match"
There is no argument "fn". Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--drivers/base/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c
index 6e810881e48b..71059e32bebc 100644
--- a/drivers/base/class.c
+++ b/drivers/base/class.c
@@ -406,7 +406,7 @@ EXPORT_SYMBOL_GPL(class_for_each_device);
406 * 406 *
407 * Note, you will need to drop the reference with put_device() after use. 407 * Note, you will need to drop the reference with put_device() after use.
408 * 408 *
409 * @fn is allowed to do anything including calling back into class 409 * @match is allowed to do anything including calling back into class
410 * code. There's no locking restriction. 410 * code. There's no locking restriction.
411 */ 411 */
412struct device *class_find_device(struct class *class, struct device *start, 412struct device *class_find_device(struct class *class, struct device *start,