Skip to content

Commit 6e56274

Browse files
azharshagregkh
authored andcommitted
usb: typec: Correct the documentation for typec_cable_put()
typec_cable_put() function had typec_cable_get in it's documentation. Change it to reflect the correct name. Signed-off-by: Azhar Shaikh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 0fa84af commit 6e56274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/typec/class.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ struct typec_cable *typec_cable_get(struct typec_port *port)
815815
EXPORT_SYMBOL_GPL(typec_cable_get);
816816

817817
/**
818-
* typec_cable_get - Decrement the reference count on USB Type-C cable
818+
* typec_cable_put - Decrement the reference count on USB Type-C cable
819819
* @cable: The USB Type-C cable
820820
*/
821821
void typec_cable_put(struct typec_cable *cable)

0 commit comments

Comments
 (0)