usb: gadget: drop superfluous ':' in doc string

Message ID ZEQFzMntIrwvZl4+@jo-einhundert
State New
Headers
Series usb: gadget: drop superfluous ':' in doc string |

Commit Message

Jó Ágila Bitsch April 22, 2023, 4:05 p.m. UTC
  There was one superfluous ':' that kernel-doc complained about.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Closes: https://lore.kernel.org/all/c718a490-028d-2682-9ad7-8256d16504bf@infradead.org/
Fixes: fb6211f1584a ("usb: gadget: add doc to struct usb_composite_dev")
Signed-off-by: Jó Ágila Bitsch <jgilab@gmail.com>
---
 include/linux/usb/composite.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Randy Dunlap April 22, 2023, 4:26 p.m. UTC | #1
On 4/22/23 09:05, Jó Ágila Bitsch wrote:
> There was one superfluous ':' that kernel-doc complained about.
> 
> Reported-by: Randy Dunlap <rdunlap@infradead.org>
> Closes: https://lore.kernel.org/all/c718a490-028d-2682-9ad7-8256d16504bf@infradead.org/
> Fixes: fb6211f1584a ("usb: gadget: add doc to struct usb_composite_dev")
> Signed-off-by: Jó Ágila Bitsch <jgilab@gmail.com>


Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  include/linux/usb/composite.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h
> index a2448e98854f..07531c4f4350 100644
> --- a/include/linux/usb/composite.h
> +++ b/include/linux/usb/composite.h
> @@ -443,7 +443,7 @@ static inline struct usb_composite_driver *to_cdriver(
>   * @bcd_webusb_version: 0x0100 by default, WebUSB specification version
>   * @b_webusb_vendor_code: 0x0 by default, vendor code for WebUSB
>   * @landing_page: empty by default, landing page to announce in WebUSB
> - * @use_webusb:: false by default, interested gadgets set it
> + * @use_webusb: false by default, interested gadgets set it
>   * @os_desc_config: the configuration to be used with OS descriptors
>   * @setup_pending: true when setup request is queued but not completed
>   * @os_desc_pending: true when os_desc request is queued but not completed
  

Patch

diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h
index a2448e98854f..07531c4f4350 100644
--- a/include/linux/usb/composite.h
+++ b/include/linux/usb/composite.h
@@ -443,7 +443,7 @@  static inline struct usb_composite_driver *to_cdriver(
  * @bcd_webusb_version: 0x0100 by default, WebUSB specification version
  * @b_webusb_vendor_code: 0x0 by default, vendor code for WebUSB
  * @landing_page: empty by default, landing page to announce in WebUSB
- * @use_webusb:: false by default, interested gadgets set it
+ * @use_webusb: false by default, interested gadgets set it
  * @os_desc_config: the configuration to be used with OS descriptors
  * @setup_pending: true when setup request is queued but not completed
  * @os_desc_pending: true when os_desc request is queued but not completed