Skip to content

Commit

Permalink
reset: keystone-reset: remove unused macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ba Jing authored and Sebastian Reichel committed Nov 11, 2024
1 parent 1d3db2d commit 7263d7d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/power/reset/keystone-reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7263d7d

Please sign in to comment.