diff mbox series

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

Message ID 20181007234612.94364-1-swboyd@chromium.org (mailing list archive)
State New, archived
Headers show
Series usb: typec: Fix copy/paste on typec_set_vconn_role() kerneldoc | expand

Commit Message

Stephen Boyd Oct. 7, 2018, 11:46 p.m. UTC
This must have been copy pasted from the function above. Fix it.

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
---
 drivers/usb/typec/class.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Heikki Krogerus Oct. 8, 2018, 10:02 a.m. UTC | #1
On Sun, Oct 07, 2018 at 04:46:12PM -0700, Stephen Boyd wrote:
> This must have been copy pasted from the function above. Fix it.
> 
> Signed-off-by: Stephen Boyd <swboyd@chromium.org>

Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>

> ---
>  drivers/usb/typec/class.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/class.c
> index 00141e05bc72..5db0593ca0bd 100644
> --- a/drivers/usb/typec/class.c
> +++ b/drivers/usb/typec/class.c
> @@ -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
>   *
> -- 
> Sent by a computer through tubes

Thanks,
diff mbox series

Patch

diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/class.c
index 00141e05bc72..5db0593ca0bd 100644
--- a/drivers/usb/typec/class.c
+++ b/drivers/usb/typec/class.c
@@ -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
  *