瀏覽代碼

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>
Rolf Eike Beer 10 年之前
父節點
當前提交
1207775428
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/base/class.c

+ 1 - 1
drivers/base/class.c

@@ -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,