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 <[email protected]> Signed-off-by: Konrad Dybcio <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 74f9d27 commit 452c165

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)