Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp599721pxb; Fri, 8 Jan 2021 12:58:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxyy1BpflRzLTzHMJHKwyaqtnzVtPNtdtr45OeZQlRRfkkfCQNasVwOWP3WrtrhZAM7dr3 X-Received: by 2002:a05:6402:1597:: with SMTP id c23mr6611665edv.212.1610139516377; Fri, 08 Jan 2021 12:58:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610139516; cv=none; d=google.com; s=arc-20160816; b=KC3S/FKcz4Z713xFnhEUT6wjbHQqjjZa6YIf0pCD2FnvvOteWl1EtV6rsyJ7bUXZBu t0jonT7VzxK2oBvvFwl5EoHYmA12pR7aXkpuXUyH41QZL/u5EG1fCASjcDX05MOy4cVq tBmGMUf48x3XsywS+iW33IZAdL7KBH6TMug95obKkaZmRdaoD68P8a2Tq12YdJqUoENt MZEW7pDqZWOWwa+PlGY/OBtj7ad5jpV17ZoD4dqWVQoIYSWtEpR40Qnan6TxhXRNZGUx tPUL76jZHdgYKBV96L/V3JCgo/pguzkxJkqXpblT+ImP0Jzwsb31OiHYq41Q5Q1jlPbF /PWQ== 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=Rz9WG/b832qdogKHIvst/8OIDmZXKqas8UlB4AZuCUw=; b=WNaFGgI9b2FFVbGHShc4CRwaf7cjsjZ5NOE3ohHcRrjOb7vvtxBZ2ABchecqCEBWlE YU6KL/5IIyE1ivyQWKv1DJJ4xhZji7lkDvGYxj3w6a1xkVxzrLMNpD0NKdulzE+zUA13 sa3JebuijaRGHcwjN02QBAXDuIDnRcaTU37LCJvsouFVDor+92dijB7cDBjz5YRJgxuy NVVJpTgAq8WUouOmjTJLkEh6u44RgygmB5ib6LXAn7HK8GmQe+Dj+lZmr/9RkRDshuIM qx7wcnaBqW/QSKJuP+AIaEDWXNUEbyxa70No/4pPchg5A0HLKTdHczcTqylddZlz0UVM Kb6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=auOUB1fF; 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 zc2si3773004ejb.427.2021.01.08.12.58.12; Fri, 08 Jan 2021 12:58:36 -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=auOUB1fF; 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 S1729421AbhAHU4E (ORCPT + 99 others); Fri, 8 Jan 2021 15:56:04 -0500 Received: from so254-31.mailgun.net ([198.61.254.31]:63439 "EHLO so254-31.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729322AbhAHU4D (ORCPT ); Fri, 8 Jan 2021 15:56:03 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1610139343; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=Rz9WG/b832qdogKHIvst/8OIDmZXKqas8UlB4AZuCUw=; b=auOUB1fFIlM06R5JpADZxFQzidkW/1YMeUe3rNI2H523d542OQpLgml8vQFyKwihXQkH2k0p L+VPhHsQx5DjhXbDV1tAUhYIilxCEj0GmPSBOqyBR15cWJ2uB4sUio9HtFdY4zFfJqdT/R53 6pEE1ZZKhA+MJnqpm0nlyvzWAPY= X-Mailgun-Sending-Ip: 198.61.254.31 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-n04.prod.us-east-1.postgun.com with SMTP id 5ff8c6adc88af0610747fe2e (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 08 Jan 2021 20:55:09 GMT Sender: bbhatt=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id D9D39C43463; Fri, 8 Jan 2021 20:55:08 +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 D054FC43461; Fri, 8 Jan 2021 20:55:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org D054FC43461 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 v5 7/9] bus: mhi: core: Remove __ prefix for MHI channel unprepare function Date: Fri, 8 Jan 2021 12:54:55 -0800 Message-Id: <1610139297-36435-8-git-send-email-bbhatt@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1610139297-36435-1-git-send-email-bbhatt@codeaurora.org> References: <1610139297-36435-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 ec720fe..8039964 100644 --- a/drivers/bus/mhi/core/main.c +++ b/drivers/bus/mhi/core/main.c @@ -1342,8 +1342,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; @@ -1456,7 +1456,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; } @@ -1573,7 +1573,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; @@ -1591,7 +1591,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