Skip to content

Commit cbdc0f5

Browse files
mchehabgregkh
authored andcommitted
usb: fix kernel-doc markups
There is a common comment marked, instead, with kernel-doc notation. Also, some identifiers have different names between their prototypes and the kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Acked-by: Felipe Balbi <balbi@kernel.org> Link: https://lore.kernel.org/r/0b964be3884def04fcd20ea5c12cb90d0014871c.1603469755.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 063a3d6 commit cbdc0f5

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

drivers/usb/dwc3/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/**
2+
/*
33
* core.c - DesignWare USB3 DRD Controller Core file
44
*
55
* Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com

drivers/usb/dwc3/core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ struct dwc3_event_type {
12771277
#define DWC3_DEPEVT_EPCMDCMPLT 0x07
12781278

12791279
/**
1280-
* struct dwc3_event_depvt - Device Endpoint Events
1280+
* struct dwc3_event_depevt - Device Endpoint Events
12811281
* @one_bit: indicates this is an endpoint event (not used)
12821282
* @endpoint_number: number of the endpoint
12831283
* @endpoint_event: The event we have:

drivers/usb/gadget/composite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ int usb_string_id(struct usb_composite_dev *cdev)
12451245
EXPORT_SYMBOL_GPL(usb_string_id);
12461246

12471247
/**
1248-
* usb_string_ids() - allocate unused string IDs in batch
1248+
* usb_string_ids_tab() - allocate unused string IDs in batch
12491249
* @cdev: the device whose string descriptor IDs are being allocated
12501250
* @str: an array of usb_string objects to assign numbers to
12511251
* Context: single threaded during gadget setup

drivers/usb/typec/mux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct typec_switch *fwnode_typec_switch_get(struct fwnode_handle *fwnode)
7171
EXPORT_SYMBOL_GPL(fwnode_typec_switch_get);
7272

7373
/**
74-
* typec_put_switch - Release USB Type-C orientation switch
74+
* typec_switch_put - Release USB Type-C orientation switch
7575
* @sw: USB Type-C orientation switch
7676
*
7777
* Decrement reference count for @sw.

include/linux/usb/composite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ static inline struct usb_composite_driver *to_cdriver(
437437
#define OS_STRING_IDX 0xEE
438438

439439
/**
440-
* struct usb_composite_device - represents one composite usb gadget
440+
* struct usb_composite_dev - represents one composite usb gadget
441441
* @gadget: read-only, abstracts the gadget's usb peripheral controller
442442
* @req: used for control responses; buffer is pre-allocated
443443
* @os_desc_req: used for OS descriptors responses; buffer is pre-allocated

0 commit comments

Comments
 (0)