Message ID | 20230304-topic-ddr_bwmon-v3-2-77a050c2fbda@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 v21csp2366052wrd; Wed, 15 Mar 2023 07:36:35 -0700 (PDT) X-Google-Smtp-Source: AK7set+wfNMq/lnTrXNOYWs8uB/+QlZrDZjxw9PL0oa5rAdpvT6ProP4wXGHlseg0E6Olyt0TIJb X-Received: by 2002:a17:90a:6090:b0:23d:1948:667d with SMTP id z16-20020a17090a609000b0023d1948667dmr8301975pji.35.1678890994721; Wed, 15 Mar 2023 07:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678890994; cv=none; d=google.com; s=arc-20160816; b=JswyXCp0LihBDYeXKA1D7CD6xDzQP0r8KjYRuMLm+jEygcHAqaVhTTwL5CZW6miQTz a6HkfMb0Cnbsi3qT/Cu0syMGBvz+AEZAOoHyG4zLLSPHIVqOdBkI1SmVBdGK96AV6Q6n gm6WUUE087ssncK3JsubhLkMLt2HCMTvna6xg17/cgPYIjsfu+9myEEDWiFLg0OsNKRx 8b6oyLyFFN6YRiyuDNEskTE6urwIRjko4rEqukqVaGmiNMLbMbR+OMjn6g9ZL9ZRAfqb TTJKfWy0S5CtPfGPKOZkvoLmgHv/AzI/u5OveOotHvvr/1U2CA2PnQVhNmWDFPF7bL7d P5ZQ== 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=3GQC372p350UPtIPazu4oAK/bKFzzByhaQ607sxvNsw=; b=CrN6HpWYnoOUeh/dMNo4xP7Hp5LlybjH1vRAkF5rM51hAwD/esw3QICIsGBbtm4BXk +Vv0cI8tKO6ZcLUeylfvbfOHS0R0WTCpyR+Mj3XvLvaRCEIOVfICbMn7KlweLig52Chn KYKU9LSrrsaIxt9YQKUySPj93nTKahHR3hPJa+/zP02AdwHFvkds6GUxRSOTgUb3arMe cZxj8HCxlMVUCMKPmJzr/Y1TCydF1QanuII6RMZCp+XDV0lmSXB2KP+4oThXU2jnftF+ 9wUZccSX5vGXFCOwF+GzfWqxjJrv/2v33ERn3ZH8PcLLwWCx8rw/5u1iPG8jJKm/XUIb htGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bMCLdOfJ; 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 x65-20020a17090a6c4700b00233e9243c88si1779377pjj.187.2023.03.15.07.36.22; Wed, 15 Mar 2023 07:36:34 -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=bMCLdOfJ; 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 S232571AbjCOOLj (ORCPT <rfc822;ruipengqi7@gmail.com> + 99 others); Wed, 15 Mar 2023 10:11:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232878AbjCOOLd (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Mar 2023 10:11:33 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A06F76772B for <linux-kernel@vger.kernel.org>; Wed, 15 Mar 2023 07:11:30 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id y20so1898353lfj.2 for <linux-kernel@vger.kernel.org>; Wed, 15 Mar 2023 07:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678889489; 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=3GQC372p350UPtIPazu4oAK/bKFzzByhaQ607sxvNsw=; b=bMCLdOfJluKG93B8X14Nwvuclf3pIxYV9nJ44F8j74KokL5uGvwX6qtV/nIERxr1MI 4tELUHZqrpzvfSc2j7VvQhq62SkbPdt6P8DlFlk6uNflt0wALcX49ZDOBBI590gBwmev TwhTDO5zBH0JlLwREURezNvS4tngu339X61BXg1JYkvG6t4P3Sllg6t5BSRfRzQZbitl Ud6irwWAPtybBBI0ppbyQoAUR2CA9XIXzCDsS+4iweP4l4nt8i1VgswZD0dl2w2uzQl3 j+Eq18n9brkSU1mI30uYOM1krysO2lgfH5+oKIIy+accMdfBK2SVjSpz+sIUzI0kCcII nQpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678889489; 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=3GQC372p350UPtIPazu4oAK/bKFzzByhaQ607sxvNsw=; b=ZV4tE8/7TFp0Npj3gwZzwWikOCnvHthllovlC0kYbMYLTSHsMRgJo7pDaoXF/E+Kki zOm3Ny+JVUT/dettwDFFg/yAH46g3v6PyMsnm6AygjWgQ/7CW7QrpQpkQ8Dk8tZoE63D QMwTYvb8KWwrGuR+QeyRg3S8YjPm6Gk0UQroeIYF8wKe9luio3nDOFgnwr0YsTD4H+xm zN8YXQZG0Nn8RYhzofbwcDfuya/vaQJobXKsVdcCrCOEsKgRNEyonLBHR5lpTZVIzwDZ r4vFsrjio0BMpGe0X0Fdsc0YdcOACVySdL8gieVAQkeNTAZZmflmoCt2t4jqMNIcDrsv oHjA== X-Gm-Message-State: AO0yUKX2/WaNd6FdcCo7YGL3yuh6dBt3WpQLiK7JAH2d8uqUZHD3Rp3d rAc70Obj2R1PQNILxw5KgfNQjQ== X-Received: by 2002:ac2:531c:0:b0:4e8:595c:60f9 with SMTP id c28-20020ac2531c000000b004e8595c60f9mr929959lfh.32.1678889488911; Wed, 15 Mar 2023 07:11:28 -0700 (PDT) Received: from [192.168.1.101] (abyj16.neoplus.adsl.tpnet.pl. [83.9.29.16]) by smtp.gmail.com with ESMTPSA id b8-20020ac25e88000000b004e845a08567sm824678lfq.291.2023.03.15.07.11.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 07:11:27 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Wed, 15 Mar 2023 15:11:20 +0100 Subject: [PATCH v3 2/7] 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-v3-2-77a050c2fbda@linaro.org> References: <20230304-topic-ddr_bwmon-v3-0-77a050c2fbda@linaro.org> In-Reply-To: <20230304-topic-ddr_bwmon-v3-0-77a050c2fbda@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>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> 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>, Marijn Suijten <marijn.suijten@somainline.org> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1678889480; l=829; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=GxK3RcvPqvln4dblV3dJH1wiiHqaQgKRfsfh0wbDHFI=; b=IUdpG314IQktpj0Td1iiXq+sbbjJkBs31p8n7U7SlhJh3ZNTYng5PeMJKje6xOBOjPvqSKy7MQgE SY083UvyAnLJYhlQyxXXqSPDcNogGDYi64sglWLpWELQH3mkFn86 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_HTTP,RCVD_IN_SORBS_SOCKS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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?1760444804168754893?= X-GMAIL-MSGID: =?utf-8?q?1760444804168754893?= |
Series |
Fix BWMONv4 for <SDM845
|
|
Commit Message
Konrad Dybcio
March 15, 2023, 2:11 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") Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- drivers/soc/qcom/icc-bwmon.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/soc/qcom/icc-bwmon.c b/drivers/soc/qcom/icc-bwmon.c index d07be3700db6..d45caf512e2d 100644 --- a/drivers/soc/qcom/icc-bwmon.c +++ b/drivers/soc/qcom/icc-bwmon.c @@ -164,7 +164,6 @@ struct icc_bwmon { const struct icc_bwmon_data *data; int irq; - struct regmap *regmap; struct regmap_field *regs[F_NUM_FIELDS]; unsigned int max_bw_kbps;