Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Subbaraman Narayanamurthy and committed by
Greg Kroah-Hartman
12f73979 8562d5bf

+1 -1
+1 -1
drivers/usb/typec/ucsi/ucsi.c
··· 1219 1219 goto err_reset; 1220 1220 } 1221 1221 1222 - /* Allocate the connectors. Released in ucsi_unregister_ppm() */ 1222 + /* Allocate the connectors. Released in ucsi_unregister() */ 1223 1223 ucsi->connector = kcalloc(ucsi->cap.num_connectors + 1, 1224 1224 sizeof(*ucsi->connector), GFP_KERNEL); 1225 1225 if (!ucsi->connector) {