Skip to content

Commit 452c165

Browse files
konradybcioandersson
authored andcommitted
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: ec63dcd ("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
1 parent 74f9d27 commit 452c165

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/soc/qcom/icc-bwmon.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ struct icc_bwmon {
164164
const struct icc_bwmon_data *data;
165165
int irq;
166166

167-
struct regmap *regmap;
168167
struct regmap_field *regs[F_NUM_FIELDS];
169168

170169
unsigned int max_bw_kbps;

0 commit comments

Comments
 (0)