[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20241025090659.33458-1-bajing@cmss.chinamobile.com>
Date: Fri, 25 Oct 2024 17:06:59 +0800
From: Ba Jing <bajing@...s.chinamobile.com>
To: ssantosh@...nel.org
Cc: sre@...nel.org,
linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org,
Ba Jing <bajing@...s.chinamobile.com>
Subject: [PATCH] reset: keystone-reset: remove unused macros
After reviewing the code, it was found that these macros are never
referenced in the code. Just remove them.
Signed-off-by: Ba Jing <bajing@...s.chinamobile.com>
---
drivers/power/reset/keystone-reset.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/power/reset/keystone-reset.c b/drivers/power/reset/keystone-reset.c
index dbc4ff61cd74..cfaa54ced0d0 100644
--- a/drivers/power/reset/keystone-reset.c
+++ b/drivers/power/reset/keystone-reset.c
@@ -16,7 +16,6 @@
#include <linux/mfd/syscon.h>
#include <linux/of.h>
-#define RSTYPE_RG 0x0
#define RSCTRL_RG 0x4
#define RSCFG_RG 0x8
#define RSISO_RG 0xc
@@ -28,7 +27,6 @@
#define RSMUX_OMODE_MASK 0xe
#define RSMUX_OMODE_RESET_ON 0xa
#define RSMUX_OMODE_RESET_OFF 0x0
-#define RSMUX_LOCK_MASK 0x1
#define RSMUX_LOCK_SET 0x1
#define RSCFG_RSTYPE_SOFT 0x300f
--
2.33.0
Powered by blists - more mailing lists