Skip to contentSkip to conversation

class_find_device: fix reference to argument "match"

Doc Rolf Eike Beer 1 participant 1 message Sep 4, 2015 Driver core

lore
Share & tools
lore
#0 lore raw

There is no argument "fn".

---
 drivers/base/class.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/class.c +1 -1
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,
Signature · 1 line
2.5.1