Re: [PATCH] usb: typec: Fix copy/paste on typec_set_vconn_role() kerneldoc

From: Heikki Krogerus
Date: Mon Oct 08 2018 - 06:02:16 EST


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@xxxxxxxxxxxx>

Acked-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>

> ---
> 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,

--
heikki