usb: typec: ucsi: Fix a comment in ucsi_init()
Subsystems (2)
PATCH 1/1 usb: typec: ucsi: Fix a comment in ucsi_init()
ucsi_unregister_ppm() got replaced with ucsi_unregister(). Fix the comment in ucsi_init() as well.
Signed-off-by Subbaraman Narayanamurthy <[email protected]>
--- drivers/usb/typec/ucsi/ucsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/typec/ucsi/ucsi.c +1 -1
@@ -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) {
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 4 lines · Subbaraman Narayanamurthy
ucsi_unregister_ppm()got replaced withucsi_unregister(). Fix the comment inucsi_init()as well.Signed-off-by Subbaraman Narayanamurthy <[email protected]>
Reviewed-by Heikki Krogerus <[email protected]>
Quoted 17 lines
--- drivers/usb/typec/ucsi/ucsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/usb/typec/ucsi/ucsi.c +1
-1@@ -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) {
Signature · 1 line
heikki