* [PATCH] usb: typec: Correct the documentation for typec_cable_put()
@ 2020-03-26 13:46 Azhar Shaikh
2020-03-27 11:52 ` Heikki Krogerus
0 siblings, 1 reply; 2+ messages in thread
From: Azhar Shaikh @ 2020-03-26 13:46 UTC (permalink / raw)
To: heikki.krogerus, gregkh; +Cc: linux-usb, azhar.shaikh
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>
---
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 7c44e930602f..a7ca415ad1ef 100644
--- a/drivers/usb/typec/class.c
+++ b/drivers/usb/typec/class.c
@@ -859,7 +859,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)
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: typec: Correct the documentation for typec_cable_put()
2020-03-26 13:46 [PATCH] usb: typec: Correct the documentation for typec_cable_put() Azhar Shaikh
@ 2020-03-27 11:52 ` Heikki Krogerus
0 siblings, 0 replies; 2+ messages in thread
From: Heikki Krogerus @ 2020-03-27 11:52 UTC (permalink / raw)
To: Azhar Shaikh; +Cc: gregkh, linux-usb
On Thu, Mar 26, 2020 at 06:46:33AM -0700, Azhar Shaikh wrote:
> 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>
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 7c44e930602f..a7ca415ad1ef 100644
> --- a/drivers/usb/typec/class.c
> +++ b/drivers/usb/typec/class.c
> @@ -859,7 +859,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)
> --
> 2.17.1
thanks,
--
heikki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-27 11:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 13:46 [PATCH] usb: typec: Correct the documentation for typec_cable_put() Azhar Shaikh
2020-03-27 11:52 ` Heikki Krogerus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).