* [PATCH] usb: typec: ucsi: Fix a comment in ucsi_init()
@ 2021-06-09 21:27 Subbaraman Narayanamurthy
2021-06-10 12:29 ` Heikki Krogerus
0 siblings, 1 reply; 2+ messages in thread
From: Subbaraman Narayanamurthy @ 2021-06-09 21:27 UTC (permalink / raw)
To: Heikki Krogerus, Greg Kroah-Hartman
Cc: linux-usb, Jack Pham, Mayank Rana, Subbaraman Narayanamurthy
ucsi_unregister_ppm() got replaced with ucsi_unregister(). Fix
the comment in ucsi_init() as well.
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
---
drivers/usb/typec/ucsi/ucsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c
index b433169..96cf541 100644
--- a/drivers/usb/typec/ucsi/ucsi.c
+++ b/drivers/usb/typec/ucsi/ucsi.c
@@ -1219,7 +1219,7 @@ static int ucsi_init(struct ucsi *ucsi)
goto err_reset;
}
- /* Allocate the connectors. Released in ucsi_unregister_ppm() */
+ /* Allocate the connectors. Released in ucsi_unregister() */
ucsi->connector = kcalloc(ucsi->cap.num_connectors + 1,
sizeof(*ucsi->connector), GFP_KERNEL);
if (!ucsi->connector) {
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: typec: ucsi: Fix a comment in ucsi_init()
2021-06-09 21:27 [PATCH] usb: typec: ucsi: Fix a comment in ucsi_init() Subbaraman Narayanamurthy
@ 2021-06-10 12:29 ` Heikki Krogerus
0 siblings, 0 replies; 2+ messages in thread
From: Heikki Krogerus @ 2021-06-10 12:29 UTC (permalink / raw)
To: Subbaraman Narayanamurthy
Cc: Greg Kroah-Hartman, linux-usb, Jack Pham, Mayank Rana
On Wed, Jun 09, 2021 at 02:27:56PM -0700, Subbaraman Narayanamurthy wrote:
> ucsi_unregister_ppm() got replaced with ucsi_unregister(). Fix
> the comment in ucsi_init() as well.
>
> Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
> ---
> drivers/usb/typec/ucsi/ucsi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c
> index b433169..96cf541 100644
> --- a/drivers/usb/typec/ucsi/ucsi.c
> +++ b/drivers/usb/typec/ucsi/ucsi.c
> @@ -1219,7 +1219,7 @@ static int ucsi_init(struct ucsi *ucsi)
> goto err_reset;
> }
>
> - /* Allocate the connectors. Released in ucsi_unregister_ppm() */
> + /* Allocate the connectors. Released in ucsi_unregister() */
> ucsi->connector = kcalloc(ucsi->cap.num_connectors + 1,
> sizeof(*ucsi->connector), GFP_KERNEL);
> if (!ucsi->connector) {
--
heikki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-10 12:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-09 21:27 [PATCH] usb: typec: ucsi: Fix a comment in ucsi_init() Subbaraman Narayanamurthy
2021-06-10 12:29 ` Heikki Krogerus
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.