[PATCH] firmware: dmi_scan: Fix dmi_find_device description

From: Jean Delvare
Date: Thu Nov 26 2015 - 03:52:44 EST


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@xxxxxxx>
Cc: Andrey Panin <pazke@xxxxxxxxx>
---
drivers/firmware/dmi_scan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-4.3.orig/drivers/firmware/dmi_scan.c 2015-11-26 09:41:45.032767005 +0100
+++ linux-4.3/drivers/firmware/dmi_scan.c 2015-11-26 09:41:54.205975102 +0100
@@ -871,7 +871,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.


--
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/