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>
This commit is contained in:
Rolf Eike Beer 2015-09-04 20:49:14 +02:00 committed by Jiri Kosina
parent 636db7a96c
commit 1207775428
1 changed files with 1 additions and 1 deletions

View 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. * 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. * code. There's no locking restriction.
*/ */
struct device *class_find_device(struct class *class, struct device *start, struct device *class_find_device(struct class *class, struct device *start,