diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-03-15 15:11:20 +0100 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-04-04 12:34:23 -0700 |
commit | 452c165e3597691a953e3f4c4c0442c41c8e02f4 (patch) | |
tree | 85c8ac0f3e27fbf59d47ac1e4505a56cb0db8a93 /drivers | |
parent | 74f9d27ac7591e0df05c85ca5eb538253f39919d (diff) |
soc: qcom: icc-bwmon: Remove unused struct member
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>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230304-topic-ddr_bwmon-v3-2-77a050c2fbda@linaro.org
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/soc/qcom/icc-bwmon.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |