Commit 12f73979 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy Committed by Greg Kroah-Hartman
Browse files

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: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
Link: https://lore.kernel.org/r/1623274076-6287-1-git-send-email-subbaram@codeaurora.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8562d5bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {