usb: dwc3: core: Fix incorrect kernel-doc comment for dwc3_alloc_event_buffers

The kernel-doc comment for dwc3_alloc_event_buffers states that the
function "Allocates @num event buffers", but the function does not have
a @num parameter and only allocates a single event buffer.

Remove the misleading "@num" reference from the brief description to
accurately reflect the function's behavior.

Signed-off-by: Shuping Bu <bushuping007@163.com>
Link: https://patch.msgid.link/20260520055023.2415635-1-bushuping007@163.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Shuping Bu
2026-05-20 13:50:23 +08:00
committed by Greg Kroah-Hartman
parent e18b0dbb6e
commit df64224e71

View File

@@ -525,7 +525,7 @@ static void dwc3_free_event_buffers(struct dwc3 *dwc)
}
/**
* dwc3_alloc_event_buffers - Allocates @num event buffers of size @length
* dwc3_alloc_event_buffers - Allocate one event buffer of size @length
* @dwc: pointer to our controller context structure
* @length: size of event buffer
*