|author||Rolf Eike Beer <firstname.lastname@example.org>||2015-09-04 20:49:14 +0200|
|committer||Jiri Kosina <email@example.com>||2015-09-29 15:23:14 +0200|
class_find_device: fix reference to argument "match"
There is no argument "fn". Signed-off-by: Rolf Eike Beer <firstname.lastname@example.org> Signed-off-by: Jiri Kosina <email@example.com>
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c
index 6e81088..71059e3 100644
@@ -406,7 +406,7 @@ EXPORT_SYMBOL_GPL(class_for_each_device);
* Note, you will need to drop the reference with put_device() after use.
- * @fn is allowed to do anything including calling back into class
+ * @match is allowed to do anything including calling back into class
* code. There's no locking restriction.
struct device *class_find_device(struct class *class, struct device *start,