[PATCH 06/25] Documentation: usbstring: usb_validate_langid: Fix sphinx warnings
From: Daniel W. S. Almeida
Date: Fri Jul 17 2020 - 14:57:11 EST
From: "Daniel W. S. Almeida" <dwlsalmeida@xxxxxxxxx>
Fix the following warnings:
warning: Function parameter or member 'langid' not described in
'usb_validate_langid'
warning: Excess function parameter 'lang' description in
'usb_validate_langid'
Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@xxxxxxxxx>
---
drivers/usb/gadget/usbstring.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/gadget/usbstring.c b/drivers/usb/gadget/usbstring.c
index 58a4d33250902..2e9735abfeb95 100644
--- a/drivers/usb/gadget/usbstring.c
+++ b/drivers/usb/gadget/usbstring.c
@@ -16,7 +16,7 @@
/**
- * usb_gadget_get_string - fill out a string descriptor
+ * usb_gadget_get_string - fill out a string descriptor
* @table: of c strings encoded using UTF-8
* @id: string id, from low byte of wValue in get string descriptor
* @buf: at least 256 bytes, must be 16-bit aligned
@@ -68,7 +68,7 @@ EXPORT_SYMBOL_GPL(usb_gadget_get_string);
/**
* usb_validate_langid - validate usb language identifiers
- * @lang: usb language identifier
+ * @langid: usb language identifier
*
* Returns true for valid language identifier, otherwise false.
*/
--
2.27.0