aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2022-07-28 13:37:40 +0200
committerBjorn Andersson <[email protected]>2022-08-18 14:13:46 -0500
commit2b5d8b02f5acdf5f4b2ef42ec0a082b7e1fb7eac (patch)
tree0ea4d695e54930c4c2b3578246d260c7f3b18f5f
parent6356c7bb5383c1e65cd718d94392fdc8cfa79fc8 (diff)
soc: qcom: icc-bwmon: drop unused registers
BWMON_GLOBAL_IRQ_STATUS and BWMON_ZONE_COUNT defines are not used. Cc: Rajendra Nayak <[email protected]> Cc: Sibi Sankar <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Sibi Sankar <[email protected]> Tested-by: Steev Klimaszewski <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/soc/qcom/icc-bwmon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/soc/qcom/icc-bwmon.c b/drivers/soc/qcom/icc-bwmon.c
index c2df038a2fbc..680a3b97ef2c 100644
--- a/drivers/soc/qcom/icc-bwmon.c
+++ b/drivers/soc/qcom/icc-bwmon.c
@@ -31,7 +31,6 @@
/* Internal sampling clock frequency */
#define HW_TIMER_HZ 19200000
-#define BWMON_GLOBAL_IRQ_STATUS 0x0
#define BWMON_GLOBAL_IRQ_CLEAR 0x8
#define BWMON_GLOBAL_IRQ_ENABLE 0xc
#define BWMON_GLOBAL_IRQ_ENABLE_ENABLE BIT(0)
@@ -105,7 +104,6 @@
/* BWMONv4 count registers use count unit of 64 kB */
#define BWMON_COUNT_UNIT_KB 64
-#define BWMON_ZONE_COUNT 0x2d8
#define BWMON_ZONE_MAX(zone) (0x2e0 + 4 * (zone))
struct icc_bwmon_data {