diff options
author | Ba Jing <bajing@cmss.chinamobile.com> | 2024-10-25 11:06:59 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-11-11 22:56:35 +0100 |
commit | 7263d7df054e8b7759727d8fde62eca648189cc5 (patch) | |
tree | 0a7b3e092ed1b8d3237a5dbdb4335dbd6af0160d | |
parent | power: supply: axp20x_battery: Use scaled iio_read_channel (diff) | |
download | linux-7263d7df054e8b7759727d8fde62eca648189cc5.tar.xz linux-7263d7df054e8b7759727d8fde62eca648189cc5.zip |
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>
-rw-r--r-- | drivers/power/reset/keystone-reset.c | 2 |
1 files changed, 0 insertions, 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 |