summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorAzhar Shaikh <azhar.shaikh@intel.com>2020-03-26 16:46:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-26 17:05:43 +0300
commit6e562742a052c93d33c52c2e1e6a24a34d2bf3b1 (patch)
tree424945e2cd0f6eb839e2c0feb086d77f57b26f1c /drivers/usb
parent0fa84af850a4f89f5d8d589d2efea69acbd771fd (diff)
downloadlinux-6e562742a052c93d33c52c2e1e6a24a34d2bf3b1.tar.xz
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 <azhar.shaikh@intel.com> Link: https://lore.kernel.org/r/20200326134633.26780-1-azhar.shaikh@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/typec/class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/class.c
index 2a33ff159d04..8d894bdff77d 100644
--- a/drivers/usb/typec/class.c
+++ b/drivers/usb/typec/class.c
@@ -815,7 +815,7 @@ struct typec_cable *typec_cable_get(struct typec_port *port)
EXPORT_SYMBOL_GPL(typec_cable_get);
/**
- * typec_cable_get - Decrement the reference count on USB Type-C cable
+ * typec_cable_put - Decrement the reference count on USB Type-C cable
* @cable: The USB Type-C cable
*/
void typec_cable_put(struct typec_cable *cable)