Message ID | 20230304-topic-ddr_bwmon-v1-3-e563837dc7d1@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp990077wrd; Sat, 4 Mar 2023 08:17:14 -0800 (PST) X-Google-Smtp-Source: AK7set9n16ycB1P7vDEq6wTR5SjWyx6b+Sj6E6TjgSlHIfI+HLeh5IhJ5NH9oMz4493JHzHe/rdT X-Received: by 2002:a05:6a20:12ce:b0:cc:b73a:1079 with SMTP id v14-20020a056a2012ce00b000ccb73a1079mr6402671pzg.62.1677946633795; Sat, 04 Mar 2023 08:17:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677946633; cv=none; d=google.com; s=arc-20160816; b=fz0JPQLR53ap895uUexqCsnV0ZJ85N8y+51UstmC0+GqvKJb7X+fKO95wlhNW19ls1 3MJ1qpng0kkfA2UXOVHrjrwpRdsvka05vG9ksxT+f1/J2vP1S2WeFu22ZGCYf12sz+O2 qdvMn9pQPeWYdH9KzqospK3n7Bwc8J8jTTWWnY8qimgdNzEVB99FIfgAxNwCRdJICW8T CMcMxVNUjIqvdEOnxtEXYcJ6w1dExSL1ipNHrXyiQOkfCq7C/53S2/TDdHomq2Emsaat hw5uNkj4nar57pKzFKCnaEG7vk4QkM2LnXU9fR8MbFFEkgDUxw8if3L0VLBTNSHgV/sb 8VJw== 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=wXa/TCpVNEWyWlP7s5FovRg6HG2GrupX5kByuFYwqVw=; b=GxubuJN3hdgMBC16dmEvnwiN0UFnQv+Kvkd49rUtTEoE8UUwCV74/Cchzib2F0+7u8 STRPEPpbmcA21qoYIdv98Y1gT6GzYSLCoi9+zlrJS60d+RU54kkQARo5yi+60VRUhd9Z VnNXfIfbBAUPhbjwKFB+7a07MDJaqI7VWdzzre8hyJGXC7gVgZB1KuxgMVuPvYwGxlY6 46BcrhrqPgHQS+D+b1HNiFzULdUTlI0wo8AzQbGeJez1N1sYm42oP9wf+Y8vlJYNwvkg THWLL7/5UZ+5tpSRNLY7QXkgrgDzabQwfWf9V8AdZUH4wbm033s30aojqZHBl9Ux0u5L XZTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=boDbMYdV; 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 bk13-20020a056a02028d00b004fab1ea0112si4554457pgb.528.2023.03.04.08.16.56; Sat, 04 Mar 2023 08:17:13 -0800 (PST) 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=boDbMYdV; 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 S229628AbjCDPjk (ORCPT <rfc822;kernel.ruili@gmail.com> + 99 others); Sat, 4 Mar 2023 10:39:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbjCDPjd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 4 Mar 2023 10:39:33 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0295714485 for <linux-kernel@vger.kernel.org>; Sat, 4 Mar 2023 07:39:31 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id bi9so7332161lfb.2 for <linux-kernel@vger.kernel.org>; Sat, 04 Mar 2023 07:39:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677944370; 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=wXa/TCpVNEWyWlP7s5FovRg6HG2GrupX5kByuFYwqVw=; b=boDbMYdVX6/Y8u0jawoTUBOLG5gjvRu8THsESIJEc6NOjpPXtJ9FNhYOnwJEUwVMVS 9jt/f/c0IKfYEIAoY/sthuXAedtCvqHDweCseQKvf9sK3Devq414jrmEA3d/TErIuODZ 7TCBZEPIZxEbJs9lH4/lYsTE9+xAciG2QXV+RQf3nCLut4Ei+orI83DyJ8VDmcmcQnSj zltHBNanX12FyYqGSA/SaGlqIfUTgTE/FT/Hj6o7oQpDsmMGMZ6nB+gI8/Ns3D/D0nX1 Nar6cJO41hk0HSINJVhmJjg/O/tpsqgTLJO+VWIPpnteiJqbzNpz+XyVcf7BL+5osG9+ GsbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677944370; 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=wXa/TCpVNEWyWlP7s5FovRg6HG2GrupX5kByuFYwqVw=; b=D84BV9pwpPF1DJdY2JoCQAGEdr2ZSaCpPuiVejba5r2XqotENwrT0q96lyavl6nStP wuiUt5UGzZ13BqauvIlvOZqwpsQFng8IidOstm58O1DwpWbgYsBeuC+hqOOEvqO5K4Wp 5jrs2wzNq4eDcjm3bVallVdtIzkaMllKjOGX/r7+6JyIDR8wvkCSnNa9fg4kl/x4zRTf zZqC1nHmfMZY99AymnnsGAUKJdZJuO+k1DV0V6JL+u9666WCA36vo7EGsoxpbBBhVtLp rPYqjuvYQg87qEuWbCotgrqnGj/rD5TdpD2oGwrX2y9lqJP0In8XSrQaCPjhr+Ukv++P 6n+w== X-Gm-Message-State: AO0yUKVKpF/939FT9dl5H7NWpcmjrKGTnLbrNmEf5StfisnxFpLB6/Q1 g8dL+zG6Cus5+ZeO7Uol5o93tQ== X-Received: by 2002:a19:5203:0:b0:4e8:28f:82fc with SMTP id m3-20020a195203000000b004e8028f82fcmr26120lfb.27.1677944370368; Sat, 04 Mar 2023 07:39:30 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id f14-20020ac2532e000000b004ab52b0bcf9sm855065lfh.207.2023.03.04.07.39.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 07:39:30 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Sat, 04 Mar 2023 16:39:21 +0100 Subject: [PATCH 3/3] soc: qcom: icc-bwmon: Remove unused struct member MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230304-topic-ddr_bwmon-v1-3-e563837dc7d1@linaro.org> References: <20230304-topic-ddr_bwmon-v1-0-e563837dc7d1@linaro.org> In-Reply-To: <20230304-topic-ddr_bwmon-v1-0-e563837dc7d1@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Georgi Djakov <djakov@kernel.org>, Rob Herring <robh+dt@kernel.org>, Thara Gopinath <thara.gopinath@gmail.com> Cc: linux-arm-msm@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677944365; l=784; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=qWo6zMTpy3xe0wyRSkH90VHxKiqh5/knTMsgd/eEzYU=; b=BB0zfXIufSgOmbYVaimXXk2UXPtwIjqh1tUplrVjqTKNuJEYIjVY+3Iwr9xtelTbkp5r/tnwgSqy 0rLjhymCBgpCo0G/gDG7YDGM1V3JGGXplngv+6wU+5UMjMUQVzVV 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 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759454569745156245?= X-GMAIL-MSGID: =?utf-8?q?1759454569745156245?= |
Series |
Fix BWMONv4 for <SDM845
|
|
Commit Message
Konrad Dybcio
March 4, 2023, 3:39 p.m. UTC
bwmon->regmap was never used, as the regmap for bwmon is registered
through devres and accessed through bwmon's regmap_field members.
Remove it
Fixes: ec63dcd3c863 ("soc: qcom: icc-bwmon: use regmap and prepare for BWMON v5")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/soc/qcom/icc-bwmon.c | 1 -
1 file changed, 1 deletion(-)
Comments
On 04/03/2023 16:39, Konrad Dybcio wrote: > bwmon->regmap was never used, as the regmap for bwmon is registered > through devres and accessed through bwmon's regmap_field members. > Remove it > > Fixes: ec63dcd3c863 ("soc: qcom: icc-bwmon: use regmap and prepare for BWMON v5") > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > drivers/soc/qcom/icc-bwmon.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/drivers/soc/qcom/icc-bwmon.c b/drivers/soc/qcom/icc-bwmon.c index 9ef632d80ee3..3f88ccedde60 100644 --- a/drivers/soc/qcom/icc-bwmon.c +++ b/drivers/soc/qcom/icc-bwmon.c @@ -189,7 +189,6 @@ struct icc_bwmon { const struct icc_bwmon_data *data; int irq; - struct regmap *regmap; struct regmap_field *regs[F_NUM_FIELDS]; struct regmap_field *global_regs[F_NUM_FIELDS];