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: Alan Borzeszkowski <alan.borzeszkowski@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>pull/1354/merge
parent
9a5abaf8be
commit
a2ba553cd4
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue