Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp982761pxy; Sun, 1 Aug 2021 08:27:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZ2AMFfbQJ4remdCvXS99oGLYm6ONwCnsSS5nCJbOfwXHyhQxCcYEBWBDvLBDs0RBhTJ0U X-Received: by 2002:a17:906:a012:: with SMTP id p18mr6538188ejy.331.1627831632763; Sun, 01 Aug 2021 08:27:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627831632; cv=none; d=google.com; s=arc-20160816; b=uPKPuNQxfZjOT5SKp79nAh37N8A67xBvnC5EVxvgU782DZegYvU7/4+7M5kAzOvRpZ mApYwiFeNHJNHkXOO0QDf9oA/Ft7WUiWXfYSkS5H9+AvhmQmg+OPjYm7ZplCfMwaEpG8 FSj0dHUaRr4onNW+bRShmSRiQScwtgIgwmZyfscouwpUw3/dP78GzA05Wd1ZazqEamSW EmVf2nwGVlt+DHjgHatKSjvSeJ2he5BngEaRz5wjgDherbtAWuFM0K1iDcO3ILjyf3Ms zV27cvOw9TPDvJbEYlBwt38QxJgHTgeqRiqMtqWuWDqbFvmZB8T4h6bbhi7L5RUiho/A uXvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:reply-to:cc:from:to :dkim-signature:date; bh=NFNTEQtiymhGQFOfflQXPK8WjTN7dRIESTU9wj8GwDc=; b=FBHseA8CLFRQruTUAdB9gE53rvP99vYP6HFWXifM3JkQ4K/HQFGEq+9ZiPUkOkNDvN XyZM4h6YEfyaeolOzKBlw+qo9CdxbsNiM3RR+a/8LOjpHBhZdT+L6PPd4V4mn/CeuRtQ p6GZ/D1FuqMTryKGVd/ag+fUZILuVHFVFGTWIJ5fR+RvS/s5DQV4bguO24y5uL3/35cd X/K3vZH67b0lEZGSbqJfeogjrF1EVIW9RhcO7Q0RdrKHf5mvAYfMUzM72gYJkjzC2aIO bmzayjLNHynebdSRFRhLWOQiCJGeFsJGLpYCabaRhUYGfHVWYgLmGNRK1FfPlF+6LlVM OMPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b="s/MSBbbl"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by28si7520646edb.108.2021.08.01.08.26.49; Sun, 01 Aug 2021 08:27:12 -0700 (PDT) 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=@protonmail.com header.s=protonmail header.b="s/MSBbbl"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232211AbhHAPZW (ORCPT + 99 others); Sun, 1 Aug 2021 11:25:22 -0400 Received: from mail-0201.mail-europe.com ([51.77.79.158]:53885 "EHLO mail-0201.mail-europe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232200AbhHAPZV (ORCPT ); Sun, 1 Aug 2021 11:25:21 -0400 Date: Sun, 01 Aug 2021 15:25:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1627831509; bh=NFNTEQtiymhGQFOfflQXPK8WjTN7dRIESTU9wj8GwDc=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=s/MSBbblgVKudl/zHjvuZAMZYAzkQO9SS9hUq760wDuKDGeod9OSPE6dsi1qJuXfj 5x26sM7geOjU/U+FKlFoX/sZsfDV4ooJXCCwvHoUVJu8IcwbMb7thmgUP3qRI0JtRe QfL/QbIfGDFRiRQKlV3K1pI88Hvwiv0oP5f0IbeI= To: Andy Gross , Bjorn Andersson , Georgi Djakov , Rob Herring From: Yassine Oudjana Cc: Yassine Oudjana , AngeloGioacchino Del Regno , linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Yassine Oudjana Subject: [PATCH v2 1/6] interconnect: qcom: icc-rpmh: Rename qcom_icc_set Message-ID: <20210801152427.475547-2-y.oudjana@protonmail.com> In-Reply-To: <20210801152427.475547-1-y.oudjana@protonmail.com> References: <20210801152427.475547-1-y.oudjana@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename qcom_icc_set to qcom_icc_rpmh_set in preparation for commonizing RPM-QoS, which also has a qcom_icc_set function. Signed-off-by: Yassine Oudjana --- drivers/interconnect/qcom/icc-rpmh.c | 6 +++--- drivers/interconnect/qcom/icc-rpmh.h | 2 +- drivers/interconnect/qcom/sc7180.c | 2 +- drivers/interconnect/qcom/sc7280.c | 2 +- drivers/interconnect/qcom/sdm845.c | 2 +- drivers/interconnect/qcom/sdx55.c | 2 +- drivers/interconnect/qcom/sm8150.c | 2 +- drivers/interconnect/qcom/sm8250.c | 2 +- drivers/interconnect/qcom/sm8350.c | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/interconnect/qcom/icc-rpmh.c b/drivers/interconnect/qc= om/icc-rpmh.c index bf01d09dba6c..6f93273109a3 100644 --- a/drivers/interconnect/qcom/icc-rpmh.c +++ b/drivers/interconnect/qcom/icc-rpmh.c @@ -70,13 +70,13 @@ int qcom_icc_aggregate(struct icc_node *node, u32 tag, = u32 avg_bw, EXPORT_SYMBOL_GPL(qcom_icc_aggregate); =20 /** - * qcom_icc_set - set the constraints based on path + * qcom_icc_rpmh_set - set the constraints based on path * @src: source node for the path to set constraints on * @dst: destination node for the path to set constraints on * * Return: 0 on success, or an error code otherwise */ -int qcom_icc_set(struct icc_node *src, struct icc_node *dst) +int qcom_icc_rpmh_set(struct icc_node *src, struct icc_node *dst) { =09struct qcom_icc_provider *qp; =09struct qcom_icc_node *qn; @@ -99,7 +99,7 @@ int qcom_icc_set(struct icc_node *src, struct icc_node *d= st) =20 =09return 0; } -EXPORT_SYMBOL_GPL(qcom_icc_set); +EXPORT_SYMBOL_GPL(qcom_icc_rpmh_set); =20 struct icc_node_data *qcom_icc_xlate_extended(struct of_phandle_args *spec= , void *data) { diff --git a/drivers/interconnect/qcom/icc-rpmh.h b/drivers/interconnect/qc= om/icc-rpmh.h index e5f61ab989e7..5dc1049dc065 100644 --- a/drivers/interconnect/qcom/icc-rpmh.h +++ b/drivers/interconnect/qcom/icc-rpmh.h @@ -130,7 +130,7 @@ struct qcom_icc_desc { =20 int qcom_icc_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, =09=09 u32 peak_bw, u32 *agg_avg, u32 *agg_peak); -int qcom_icc_set(struct icc_node *src, struct icc_node *dst); +int qcom_icc_rpmh_set(struct icc_node *src, struct icc_node *dst); struct icc_node_data *qcom_icc_xlate_extended(struct of_phandle_args *spec= , void *data); int qcom_icc_bcm_init(struct qcom_icc_bcm *bcm, struct device *dev); void qcom_icc_pre_aggregate(struct icc_node *node); diff --git a/drivers/interconnect/qcom/sc7180.c b/drivers/interconnect/qcom= /sc7180.c index 8d9044ed18ab..40232b41c080 100644 --- a/drivers/interconnect/qcom/sc7180.c +++ b/drivers/interconnect/qcom/sc7180.c @@ -532,7 +532,7 @@ static int qnoc_probe(struct platform_device *pdev) =20 =09provider =3D &qp->provider; =09provider->dev =3D &pdev->dev; -=09provider->set =3D qcom_icc_set; +=09provider->set =3D qcom_icc_rpmh_set; =09provider->pre_aggregate =3D qcom_icc_pre_aggregate; =09provider->aggregate =3D qcom_icc_aggregate; =09provider->xlate_extended =3D qcom_icc_xlate_extended; diff --git a/drivers/interconnect/qcom/sc7280.c b/drivers/interconnect/qcom= /sc7280.c index 8d1b55c3705c..b84742debc13 100644 --- a/drivers/interconnect/qcom/sc7280.c +++ b/drivers/interconnect/qcom/sc7280.c @@ -1830,7 +1830,7 @@ static int qnoc_probe(struct platform_device *pdev) =20 =09provider =3D &qp->provider; =09provider->dev =3D &pdev->dev; -=09provider->set =3D qcom_icc_set; +=09provider->set =3D qcom_icc_rpmh_set; =09provider->pre_aggregate =3D qcom_icc_pre_aggregate; =09provider->aggregate =3D qcom_icc_aggregate; =09provider->xlate_extended =3D qcom_icc_xlate_extended; diff --git a/drivers/interconnect/qcom/sdm845.c b/drivers/interconnect/qcom= /sdm845.c index 366870150cbd..47b46601888a 100644 --- a/drivers/interconnect/qcom/sdm845.c +++ b/drivers/interconnect/qcom/sdm845.c @@ -469,7 +469,7 @@ static int qnoc_probe(struct platform_device *pdev) =20 =09provider =3D &qp->provider; =09provider->dev =3D &pdev->dev; -=09provider->set =3D qcom_icc_set; +=09provider->set =3D qcom_icc_rpmh_set; =09provider->pre_aggregate =3D qcom_icc_pre_aggregate; =09provider->aggregate =3D qcom_icc_aggregate; =09provider->xlate_extended =3D qcom_icc_xlate_extended; diff --git a/drivers/interconnect/qcom/sdx55.c b/drivers/interconnect/qcom/= sdx55.c index a5a122ee3d21..11b0c109c7ca 100644 --- a/drivers/interconnect/qcom/sdx55.c +++ b/drivers/interconnect/qcom/sdx55.c @@ -263,7 +263,7 @@ static int qnoc_probe(struct platform_device *pdev) =20 =09provider =3D &qp->provider; =09provider->dev =3D &pdev->dev; -=09provider->set =3D qcom_icc_set; +=09provider->set =3D qcom_icc_rpmh_set; =09provider->pre_aggregate =3D qcom_icc_pre_aggregate; =09provider->aggregate =3D qcom_icc_aggregate; =09provider->xlate =3D of_icc_xlate_onecell; diff --git a/drivers/interconnect/qcom/sm8150.c b/drivers/interconnect/qcom= /sm8150.c index c76b2c7f9b10..21410a20431b 100644 --- a/drivers/interconnect/qcom/sm8150.c +++ b/drivers/interconnect/qcom/sm8150.c @@ -530,7 +530,7 @@ static int qnoc_probe(struct platform_device *pdev) =20 =09provider =3D &qp->provider; =09provider->dev =3D &pdev->dev; -=09provider->set =3D qcom_icc_set; +=09provider->set =3D qcom_icc_rpmh_set; =09provider->pre_aggregate =3D qcom_icc_pre_aggregate; =09provider->aggregate =3D qcom_icc_aggregate; =09provider->xlate =3D of_icc_xlate_onecell; diff --git a/drivers/interconnect/qcom/sm8250.c b/drivers/interconnect/qcom= /sm8250.c index cc558fec74e3..8ec8504b48c6 100644 --- a/drivers/interconnect/qcom/sm8250.c +++ b/drivers/interconnect/qcom/sm8250.c @@ -546,7 +546,7 @@ static int qnoc_probe(struct platform_device *pdev) =20 =09provider =3D &qp->provider; =09provider->dev =3D &pdev->dev; -=09provider->set =3D qcom_icc_set; +=09provider->set =3D qcom_icc_rpmh_set; =09provider->pre_aggregate =3D qcom_icc_pre_aggregate; =09provider->aggregate =3D qcom_icc_aggregate; =09provider->xlate =3D of_icc_xlate_onecell; diff --git a/drivers/interconnect/qcom/sm8350.c b/drivers/interconnect/qcom= /sm8350.c index 579b6ce8e046..e3f54e07aca7 100644 --- a/drivers/interconnect/qcom/sm8350.c +++ b/drivers/interconnect/qcom/sm8350.c @@ -538,7 +538,7 @@ static int qnoc_probe(struct platform_device *pdev) =20 =09provider =3D &qp->provider; =09provider->dev =3D &pdev->dev; -=09provider->set =3D qcom_icc_set; +=09provider->set =3D qcom_icc_rpmh_set; =09provider->pre_aggregate =3D qcom_icc_pre_aggregate; =09provider->aggregate =3D qcom_icc_aggregate; =09provider->xlate =3D of_icc_xlate_onecell; --=20 2.32.0