From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67FEAC48BE5 for ; Thu, 10 Jun 2021 12:29:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4FF0D613FF for ; Thu, 10 Jun 2021 12:29:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230420AbhFJMbh (ORCPT ); Thu, 10 Jun 2021 08:31:37 -0400 Received: from mga03.intel.com ([134.134.136.65]:25808 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230349AbhFJMbg (ORCPT ); Thu, 10 Jun 2021 08:31:36 -0400 IronPort-SDR: pfDhI9nXof7VdYThIweUDsvDfTJU66pKHCZaVZiu/ZQQY7+pdXEC86f/YYp3DRlHaM1R9w9tCL h8u9Q0m4HvIg== X-IronPort-AV: E=McAfee;i="6200,9189,10010"; a="205319776" X-IronPort-AV: E=Sophos;i="5.83,263,1616482800"; d="scan'208";a="205319776" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2021 05:29:31 -0700 IronPort-SDR: zpA0ZZxF75K68uTIe1ciykYV9G3kIG+OozDmixKAO+vQAjgAKbUfJTKuEiMBNDMeqzUNIxzHOW PAp5j+KsOxwg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,263,1616482800"; d="scan'208";a="553050336" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 10 Jun 2021 05:29:29 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Thu, 10 Jun 2021 15:29:28 +0300 Date: Thu, 10 Jun 2021 15:29:28 +0300 From: Heikki Krogerus To: Subbaraman Narayanamurthy Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, Jack Pham , Mayank Rana Subject: Re: [PATCH] usb: typec: ucsi: Fix a comment in ucsi_init() Message-ID: References: <1623274076-6287-1-git-send-email-subbaram@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1623274076-6287-1-git-send-email-subbaram@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Wed, Jun 09, 2021 at 02:27:56PM -0700, Subbaraman Narayanamurthy wrote: > ucsi_unregister_ppm() got replaced with ucsi_unregister(). Fix > the comment in ucsi_init() as well. > > Signed-off-by: Subbaraman Narayanamurthy Reviewed-by: Heikki Krogerus > --- > drivers/usb/typec/ucsi/ucsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/typec/ucsi/ucsi.c b/drivers/usb/typec/ucsi/ucsi.c > index b433169..96cf541 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) { -- heikki