Skip to content

Commit 7263d7d

Browse files
Ba Jingsre
authored andcommitted
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@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20241025090659.33458-1-bajing@cmss.chinamobile.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 1d3db2d commit 7263d7d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/power/reset/keystone-reset.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <linux/mfd/syscon.h>
1717
#include <linux/of.h>
1818

19-
#define RSTYPE_RG 0x0
2019
#define RSCTRL_RG 0x4
2120
#define RSCFG_RG 0x8
2221
#define RSISO_RG 0xc
@@ -28,7 +27,6 @@
2827
#define RSMUX_OMODE_MASK 0xe
2928
#define RSMUX_OMODE_RESET_ON 0xa
3029
#define RSMUX_OMODE_RESET_OFF 0x0
31-
#define RSMUX_LOCK_MASK 0x1
3230
#define RSMUX_LOCK_SET 0x1
3331

3432
#define RSCFG_RSTYPE_SOFT 0x300f

0 commit comments

Comments
 (0)