Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp83251pxu; Wed, 2 Dec 2020 15:45:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJy4cVywfpzo9QHBo5h2WISzFX/42yb0eXKdPrzThVcECY6rs9RK2Afh2X+60NkxFDR2+XzH X-Received: by 2002:a17:906:17d0:: with SMTP id u16mr189041eje.452.1606952723911; Wed, 02 Dec 2020 15:45:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606952723; cv=none; d=google.com; s=arc-20160816; b=XF1OYW/kWK3LkbNXGZa1EdV5IlIRens8fn6Kzdc9pICVCbk6sPTvfLwYSPESFosEjl M9JPFY1578iJGWjkzSbLFuuHFvh7myQCsiAyhRxTdIaBOzD+ktinHHDI+SoTBDVmUxax l2rd9T0tXlQymY/Um32ZTrMU96sFbs9S+D8pZljoMi1TbcppXsGImnkeTmBiL2JS3FyC Mm2uideCuw0/O5+mG4hB9hcDIlJskI7/EOkakrWo52RP3V1p7oHk5c1qHiOwgAJHYEnG 1U0WpZi9jRpZlBuoSjLe7mNLOQC4H8x77jYFg0MXyh47qEQde4smyNQMf/VRiKc9bWcx eb1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=MyL4yGoUux7OD/Qa2VquWaUqKLRV4yAEWaAEF7F3WXg=; b=WyZjPwjtSa4WoUvR2McvIg4X4fXpktURYwH0ey7Xo88GWjtiTtpFpSSli2jbqd/8kY cR2cshxX3JffWB9gUx1UBfe0aYN6UbRr5GawszqqgutVWFyAemfSnX48czOB/BqinL1y +OuTVPKeSXBN9ei/aJj0VFJcEE0bO4RbJ3XcmKRlNWKlBPOH1l9jcLD8yXfINrwhX2v8 hVqwFjVe5bEfVWCaSAaEO1H9en/2UtfJ8q/uSQ5LTrVseMy+JqcXsFP5bdkeJD3NbG13 dPpQ+C55erRtvQ9Qt2ba5+wCnuDmtI0KOZJtd1+S504XvGPGFWFVFO5rg3GmhEZNjf9K KJUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=oLCxEZj1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi9si198519edb.331.2020.12.02.15.45.01; Wed, 02 Dec 2020 15:45:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=oLCxEZj1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728941AbgLBXlq (ORCPT + 99 others); Wed, 2 Dec 2020 18:41:46 -0500 Received: from m42-5.mailgun.net ([69.72.42.5]:30871 "EHLO m42-5.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728767AbgLBXlo (ORCPT ); Wed, 2 Dec 2020 18:41:44 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1606952479; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=MyL4yGoUux7OD/Qa2VquWaUqKLRV4yAEWaAEF7F3WXg=; b=oLCxEZj1mhKLF20cOv+E1B3PbiyMM7aNGLRNKTiRZ+9VvUWO8NMQwdToIwAMfd2wNWq3/rr2 xBNJzmBcKsclev95SGfLyaGAi+G+ecvpekK70zwAXVebXBpYX8ix4NGU6zrVwAUrJRIyT+Re 6Efjib5qec6FKSm0/fjPRXBIiQY= X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 5fc826057e5eb22240f680a4 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 02 Dec 2020 23:40:53 GMT Sender: bbhatt=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id A094DC433ED; Wed, 2 Dec 2020 23:40:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from malabar-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bbhatt) by smtp.codeaurora.org (Postfix) with ESMTPSA id DA333C43461; Wed, 2 Dec 2020 23:40:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DA333C43461 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=bbhatt@codeaurora.org From: Bhaumik Bhatt To: manivannan.sadhasivam@linaro.org, hemantk@codeaurora.org Cc: linux-arm-msm@vger.kernel.org, loic.poulain@linaro.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, Bhaumik Bhatt Subject: [PATCH v3 6/7] bus: mhi: core: Remove __ prefix for MHI channel unprepare function Date: Wed, 2 Dec 2020 15:40:37 -0800 Message-Id: <1606952438-15321-7-git-send-email-bbhatt@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1606952438-15321-1-git-send-email-bbhatt@codeaurora.org> References: <1606952438-15321-1-git-send-email-bbhatt@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The __mhi_unprepare_channel() API does not require the __ prefix. Get rid of it and make the internal function consistent with the other function names. Signed-off-by: Bhaumik Bhatt Reviewed-by: Manivannan Sadhasivam --- drivers/bus/mhi/core/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/bus/mhi/core/main.c b/drivers/bus/mhi/core/main.c index 40d15ef..566507d 100644 --- a/drivers/bus/mhi/core/main.c +++ b/drivers/bus/mhi/core/main.c @@ -1311,8 +1311,8 @@ static int mhi_update_channel_state(struct mhi_controller *mhi_cntrl, return -EINVAL; } -static void __mhi_unprepare_channel(struct mhi_controller *mhi_cntrl, - struct mhi_chan *mhi_chan) +static void mhi_unprepare_channel(struct mhi_controller *mhi_cntrl, + struct mhi_chan *mhi_chan) { int ret; struct device *dev = &mhi_cntrl->mhi_dev->dev; @@ -1425,7 +1425,7 @@ int mhi_prepare_channel(struct mhi_controller *mhi_cntrl, error_pre_alloc: mutex_unlock(&mhi_chan->mutex); - __mhi_unprepare_channel(mhi_cntrl, mhi_chan); + mhi_unprepare_channel(mhi_cntrl, mhi_chan); return ret; } @@ -1542,7 +1542,7 @@ int mhi_prepare_for_transfer(struct mhi_device *mhi_dev) if (!mhi_chan) continue; - __mhi_unprepare_channel(mhi_cntrl, mhi_chan); + mhi_unprepare_channel(mhi_cntrl, mhi_chan); } return ret; @@ -1560,7 +1560,7 @@ void mhi_unprepare_from_transfer(struct mhi_device *mhi_dev) if (!mhi_chan) continue; - __mhi_unprepare_channel(mhi_cntrl, mhi_chan); + mhi_unprepare_channel(mhi_cntrl, mhi_chan); } } EXPORT_SYMBOL_GPL(mhi_unprepare_from_transfer); -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project