Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1590224pxb; Thu, 4 Feb 2021 17:50:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxg2a+MLpG1J9kmxNfjpMYz52AwUYa3V585TJKwQbkJhlWVg3BetI1Jg6zBAqVCu7+0FZaP X-Received: by 2002:a17:906:4dc5:: with SMTP id f5mr1798147ejw.11.1612489839360; Thu, 04 Feb 2021 17:50:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612489839; cv=none; d=google.com; s=arc-20160816; b=Lv++IOGz3avV2JvqcEuRSn9I4ZWmS6+2oJa5m6A/ZHxuDidUVDZ70D8bHlF64bDual YjEbHL22iAiz/Wl+4pHasKo+2Cl09wihT8W5+J+Xl9FNqzBQfOiYYB/3a6oMvm3D178i AFrAHedKCUFJLyFHR10fwuRZkkpig2MZvXcB11MifSgE8h4EUfiVx8+xcg6e200mbXM7 HNEvtUDTc/EaKRvGYq4QSpCyL6jgFAyorVYPS9lNRNgES2YVflsJagfu+4g10TqGlrlh yOhvORxOmPSRCBeVDE+5i/jq1HIhFj15MNGzh//gJKWPPwOx9s2S4v/zghhFFzOQfq6+ VXRA== 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=doKCIa8YEqwgtbi/WvU47iRMrz3/tuUpKiY744ceawQ=; b=jla8EYmuGUqPmK/MTnKasp58VNUux+CN+KJUY6sC9D3Hc8f9a5iv0bvD/wDpwoloPe Q5pRq1YimAOAXvGOz8cMxpIBkqJ/q5Fg5QzXvJsMusu4JCxXInakJpqU5xOdWskJvyCL vFh+4TwhCrkOxXH6ZiWhvK3zJZLd08IwoGU3DPzqkbFzP1vscYzN2rnanFgOLoxK7b8X R9qXUDbIocr3muK+Zo0etekJCra6gT4GuuzhNXKMDiBaXdygePMjf1vNmcD7Buw6EXMp HBM2lxxHUNYtZy2f8I2BCZpLtwCQsk12YVENNKIlP6NvgzG5XmeEIpLG1+ZJCapEx4fn dIYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=LUmetGzS; 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 p62si4232649edp.242.2021.02.04.17.50.14; Thu, 04 Feb 2021 17:50:39 -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=LUmetGzS; 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 S239971AbhBDUb6 (ORCPT + 99 others); Thu, 4 Feb 2021 15:31:58 -0500 Received: from so15.mailgun.net ([198.61.254.15]:17303 "EHLO so15.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240055AbhBDU3L (ORCPT ); Thu, 4 Feb 2021 15:29:11 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1612470532; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=doKCIa8YEqwgtbi/WvU47iRMrz3/tuUpKiY744ceawQ=; b=LUmetGzSE+XtA9HF3H2sF2kyKUwOhTsEQuo8CJpcRuyN/67ZzzyKD5Rd6qgUtoVzx9TjNAbe gAj+hf4HzUpLKDBzqIcjlj+jsZvkWU6vBLfVRrql5W1G4pZXkL3CxZd+fXTH9Flpl5r/T/nJ s1GYNdtoyn7pPtlkqJ6kfe7ZBkI= X-Mailgun-Sending-Ip: 198.61.254.15 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-n06.prod.us-west-2.postgun.com with SMTP id 601c58e18e43a988b75261a8 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 04 Feb 2021 20:28:17 GMT Sender: bbhatt=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 48BA6C43467; Thu, 4 Feb 2021 20:28:17 +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 74F59C43462; Thu, 4 Feb 2021 20:28:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 74F59C43462 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 Cc: linux-arm-msm@vger.kernel.org, hemantk@codeaurora.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, Bhaumik Bhatt Subject: [PATCH v6 6/8] bus: mhi: core: Remove __ prefix for MHI channel unprepare function Date: Thu, 4 Feb 2021 12:28:04 -0800 Message-Id: <1612470486-10440-7-git-send-email-bbhatt@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1612470486-10440-1-git-send-email-bbhatt@codeaurora.org> References: <1612470486-10440-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 Reviewed-by: Hemant Kumar --- 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 f511e3a..0ac4512 100644 --- a/drivers/bus/mhi/core/main.c +++ b/drivers/bus/mhi/core/main.c @@ -1275,8 +1275,8 @@ static int mhi_update_channel_state(struct mhi_controller *mhi_cntrl, return ret; } -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_chan->mhi_dev->dev; @@ -1386,7 +1386,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; } @@ -1503,7 +1503,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; @@ -1521,7 +1521,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