Message ID | 20230811-topic-icc_retire_macrosd-v1-20-c03aaeffc769@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp1078095vqi; Fri, 11 Aug 2023 06:06:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEvFIjfeyrG6kzniuhxzJsrqGIHBrcciPGTsDSzGTCSK/eTz9K9ZdnJFwArDaSlAeMg81o X-Received: by 2002:a2e:9b97:0:b0:2b9:e304:5f83 with SMTP id z23-20020a2e9b97000000b002b9e3045f83mr1560719lji.26.1691759195292; Fri, 11 Aug 2023 06:06:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691759195; cv=none; d=google.com; s=arc-20160816; b=D4uzaYw5y3l4Zy73ipX649P3htL3aaWKkvCFX4k8PVHJ9XCmx4KWQv8TEi5DansEat k86iF0sUKE/3f9rxdr6WrW8CDCLyhvWVCrdsvYy5wN6+s4A8C7G0b8chhDylAczrZgzb KhPFwUW/OD+jmf0yA3RcbkNzB3Vp+XZ6xF+L1rPFdq/C1WMXoKkFRDuLUS2uYdFq28dk L8GDCGOlwRqDDSPZ4XxsCIDEUjWJ4SSG8Rd+Kndgv313IKtW98rWlmrB0GOOGo1n0LJ/ xslQ91G+HZ+ltQylylWJEtxfr2XrF+jk6ubx66N3CKjAl5359JoVnDZOoZKxY5RRt/xl 8X4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=scoeTIYy4vb5EgheFAepiFWqi4fXeq1lFa7JMfWYqi4=; fh=KLHuMtIqFjU14h8YTIh1Q1bd/pq1uD8Tms+Spx3Dr4Q=; b=C7uk+UovAqGAofq61iN+lVdJU8V59ygI96okucgT9GMhTuD8We98naHkdD/7X/9sYK MGc/l6FPhphKfys9bCvBBOXJaO3M6x1P/hJaIE9mpoky6GRbtU3Eqky05MQ2o8q31YGl cTR1jSx3CQogEkIuzKtHnP0eAbMa9NyXETk4Dz6v+C5h2zrEDgRxcczGJMVGMpGnGq7T 9GgvAOeidu2DdcjRpRKQLCJ8HmNMh94IE1glWI3egFQZJ9LwRdB2WJs8BRPSQz2+Vv4W qpHxFk1psPyBBo36srcwu/XKD6b7cHqqliMH8vExdJMU5tIj7Gxr58JHnIZVqJMzbF25 /ujQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="C5hjA2S/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w23-20020a1709064a1700b0099cc36c4680si3568526eju.134.2023.08.11.06.06.04; Fri, 11 Aug 2023 06:06:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="C5hjA2S/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236570AbjHKMRQ (ORCPT <rfc822;shaohuahua6@gmail.com> + 99 others); Fri, 11 Aug 2023 08:17:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236569AbjHKMQy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 11 Aug 2023 08:16:54 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 397CE3C1D for <linux-kernel@vger.kernel.org>; Fri, 11 Aug 2023 05:16:22 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2b9d3dacb33so29928151fa.1 for <linux-kernel@vger.kernel.org>; Fri, 11 Aug 2023 05:16:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691756152; x=1692360952; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=scoeTIYy4vb5EgheFAepiFWqi4fXeq1lFa7JMfWYqi4=; b=C5hjA2S/Uccx24YZCltvH14WW1DjSgehLr2zvEQ1zUpYLvp3Ep2058M7NUD/fJGVzK e2XH3FuUjUGSCMCKGE8UbXPsSJyr266p/higTc21BDWeZ/m6QeBr7Z127hQcuKGMQm72 KJOL9opmyXTRykWJGm2Y6o41dhy7hnmD0ctwV/rrEWseng6GJEEjMlnRXQPn2Whtjf73 3FQAwBYlL5YlGWGvW14+omJmvN/gheBRiurkr4HOQCIz0xIHh0xEAon/DpMd9VeREqvC F+ikY6h5TT28GPwhHi2GWpHflDc77C2fJGCdgitJCCFrfqu5UEDw69hsHTbJhUhM4P/U CLyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691756152; x=1692360952; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=scoeTIYy4vb5EgheFAepiFWqi4fXeq1lFa7JMfWYqi4=; b=kXMBeE54ssk5KXiIC7DUynfJETLyvvJ5ASXtvGDLR7QW3no723nhPOCdihj+b5ci+t UBkJJXrPm/1YhTfFrtlUcM723f2FHvtnvTiXZdU/hV+UhwFcCf+nZ0qFKoAtq4LawOhn Yph64kfgS92Zf4ublvF3+4JuGK2y5QqzfAlwn6eWFy0YqyroJ4J41JJZ6NKwVHrpQE1D 58F7qxR5BWZoK0NmQgaTmUKbGalA4hg0x8WBmH6XbRiXUaAMELoiMEPuWNRP/Ib2FVa3 JGCiVoap0mAdbm49tPrFY4M/lKk4vM98kl6MFqj1A67UKnCCgjtJ5kHrEKXybmUsFyca sALQ== X-Gm-Message-State: AOJu0Yx126Qbmp3FV9XVW/j8+Y3BhsBHvnoy3x7QO6KFUjdJoO5A/pWc msM7G1fmh+SQLb0DJCMzDPYEhw== X-Received: by 2002:a2e:7e0f:0:b0:2b7:344c:a039 with SMTP id z15-20020a2e7e0f000000b002b7344ca039mr1516337ljc.33.1691756152190; Fri, 11 Aug 2023 05:15:52 -0700 (PDT) Received: from [192.168.1.101] (abyj188.neoplus.adsl.tpnet.pl. [83.9.29.188]) by smtp.gmail.com with ESMTPSA id m12-20020a2e870c000000b002b9ec22d9fasm848487lji.29.2023.08.11.05.15.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 05:15:51 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Fri, 11 Aug 2023 14:15:31 +0200 Subject: [PATCH 20/20] interconnect: qcom: icc-rpmh: Retire DEFINE_QBCM MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230811-topic-icc_retire_macrosd-v1-20-c03aaeffc769@linaro.org> References: <20230811-topic-icc_retire_macrosd-v1-0-c03aaeffc769@linaro.org> In-Reply-To: <20230811-topic-icc_retire_macrosd-v1-0-c03aaeffc769@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Georgi Djakov <djakov@kernel.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691756124; l=1036; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=d/FxCw9vPsUH66qzqeSqW0F14Dv5hGAeVeTLrU6DYfA=; b=9QE5KS8si/WcCOpbrLw414HVV5vapAeqBDPdSGPCaJePvsiXpQVgYDPEb06sIUCTNNw1thasA 6zdLGvveLtKB2JHjNFvHKEXfBCdO0HaDXN87WN7arvIF3dFtHTIBI7o X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773938089992719262 X-GMAIL-MSGID: 1773938089992719262 |
Series |
Retire DEFINE_QBCM/DEFINE_QNODE macros
|
|
Commit Message
Konrad Dybcio
Aug. 11, 2023, 12:15 p.m. UTC
This helper has no users anymore. Kill it with heavy fire.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/bcm-voter.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/interconnect/qcom/bcm-voter.h b/drivers/interconnect/qcom/bcm-voter.h index 0f64c0bab2c0..b4d36e349f3c 100644 --- a/drivers/interconnect/qcom/bcm-voter.h +++ b/drivers/interconnect/qcom/bcm-voter.h @@ -12,14 +12,6 @@ #include "icc-rpmh.h" -#define DEFINE_QBCM(_name, _bcmname, _keepalive, ...) \ -static struct qcom_icc_bcm _name = { \ - .name = _bcmname, \ - .keepalive = _keepalive, \ - .num_nodes = ARRAY_SIZE(((struct qcom_icc_node *[]){ __VA_ARGS__ })), \ - .nodes = { __VA_ARGS__ }, \ -} - struct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name); void qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm); int qcom_icc_bcm_voter_commit(struct bcm_voter *voter);