Skip to contentSkip to conversation

usb: typec: Fix copy/paste on typec_set_vconn_role() kerneldoc

PATCH In review Stephen Boyd 2 participants 2 messages Oct 7, 2018 – Oct 8, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: typec: Fix copy/paste on typec_set_vconn_role() kerneldoc

This must have been copy pasted from the function above. Fix it.

---
 drivers/usb/typec/class.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/class.c +1 -1
index 00141e05bc72..5db0593ca0bd 100644
@@ -1322,7 +1322,7 @@ void typec_set_pwr_role(struct typec_port *port, enum typec_role role)
 EXPORT_SYMBOL_GPL(typec_set_pwr_role);
 
 /**
- * typec_set_pwr_role - Report VCONN source change
+ * typec_set_vconn_role - Report VCONN source change
  * @port: The USB Type-C Port which VCONN role changed
  * @role: Source when @port is sourcing VCONN, or Sink when it's not
  *
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Stephen Boyd

This must have been copy pasted from the function above. Fix it.

Quoted 19 lines
---
 drivers/usb/typec/class.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/class.c +1 -1
index 00141e05bc72..5db0593ca0bd 100644
@@ -1322,7 +1322,7 @@ void typec_set_pwr_role(struct typec_port *port, enum typec_role role)
 EXPORT_SYMBOL_GPL(typec_set_pwr_role);
 
 /**
- * typec_set_pwr_role - Report VCONN source change
+ * typec_set_vconn_role - Report VCONN source change
  * @port: The USB Type-C Port which VCONN role changed
  * @role: Source when @port is sourcing VCONN, or Sink when it's not
  *
Signature · 1 line
Sent by a computer through tubes

Thanks,