usb: typec: ucsi: Fix a comment in ucsi_init()
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>
Wed, 9 Jun 2021 21:27:56 +0000 (14:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jun 2021 17:59:07 +0000 (19:59 +0200)
ucsi_unregister_ppm() got replaced with ucsi_unregister(). Fix
the comment in ucsi_init() as well.

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Link: https://lore.kernel.org/r/1623274076-6287-1-git-send-email-subbaram@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi.c

index 4e1973f..48ca113 100644 (file)
@@ -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) {