summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2016-01-15 22:08:44 +0100
committerJean Delvare <jdelvare@suse.de>2016-01-15 22:08:44 +0100
commitbfab8b48598f851dfeca2b40fd06969bf8634d37 (patch)
tree50741e9e80d0ea9cc589691a361a5c6a974f9de1 /drivers/firmware
parent45b9825708198311cbe00daf9d1a40098c12c45b (diff)
downloadlinux-bfab8b48598f851dfeca2b40fd06969bf8634d37.tar.bz2
firmware: dmi_scan: Fix dmi_find_device description
The description of dmi_find_device was apparently copied from a similar function in a different subsystem, but the parameter names were not adjusted as needed. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Andrey Panin <pazke@donpac.ru>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/dmi_scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/dmi_scan.c b/drivers/firmware/dmi_scan.c
index ce666ef24bdc..908653fe5c10 100644
--- a/drivers/firmware/dmi_scan.c
+++ b/drivers/firmware/dmi_scan.c
@@ -870,7 +870,7 @@ EXPORT_SYMBOL(dmi_name_in_vendors);
* @from: previous device found in search, or %NULL for new search.
*
* Iterates through the list of known onboard devices. If a device is
- * found with a matching @vendor and @device, a pointer to its device
+ * found with a matching @type and @name, a pointer to its device
* structure is returned. Otherwise, %NULL is returned.
* A new search is initiated by passing %NULL as the @from argument.
* If @from is not %NULL, searches continue from next device.