]> git.karo-electronics.de Git - linux-beck.git/commitdiff
class_find_device: fix reference to argument "match"
authorRolf Eike Beer <eike-kernel@sf-tec.de>
Fri, 4 Sep 2015 18:49:14 +0000 (20:49 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 29 Sep 2015 13:23:14 +0000 (15:23 +0200)
There is no argument "fn".

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/base/class.c

index 6e810881e48b09f0615250c8f2ca2dfdbb47c44e..71059e32bebc989e180bee874372f24582ba10b9 100644 (file)
@@ -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,