From: Subbaraman Narayanamurthy Date: Wed, 9 Jun 2021 21:27:56 +0000 (-0700) Subject: usb: typec: ucsi: Fix a comment in ucsi_init() X-Git-Tag: accepted/tizen/unified/20230118.172025~6887^2~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12f739798470288c8c1053484fe0281fe4cc5ea4;p=platform%2Fkernel%2Flinux-rpi.git 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. Reviewed-by: Heikki Krogerus Signed-off-by: Subbaraman Narayanamurthy Link: https://lore.kernel.org/r/1623274076-6287-1-git-send-email-subbaram@codeaurora.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c index 4e1973f..48ca113 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) {