Commit a2ba553c authored by Alan Borzeszkowski's avatar Alan Borzeszkowski Committed by Mika Westerberg
Browse files

thunderbolt: Update usb4_port.c function documentation



Make usb4_port.c function documentation compliant with current kernel-doc
standards. No functional changes.

Signed-off-by: default avatarAlan Borzeszkowski <alan.borzeszkowski@linux.intel.com>
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 9a5abaf8
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -296,8 +296,9 @@ const struct device_type usb4_port_device_type = {
 * usb4_port_device_add() - Add USB4 port device
 * @port: Lane 0 adapter port to add the USB4 port
 *
 * Creates and registers a USB4 port device for @port. Returns the new
 * USB4 port device pointer or ERR_PTR() in case of error.
 * Creates and registers a USB4 port device for @port.
 *
 * Return: Pointer to &struct usb4_port or ERR_PTR() in case of an error.
 */
struct usb4_port *usb4_port_device_add(struct tb_port *port)
{
@@ -356,6 +357,8 @@ void usb4_port_device_remove(struct usb4_port *usb4)
 * @usb4: USB4 port device
 *
 * Used to resume USB4 port device after sleep state.
 *
 * Return: %0 on success, negative errno otherwise.
 */
int usb4_port_device_resume(struct usb4_port *usb4)
{