diff options
| author | Tudor Ambarus <tudor.ambarus@linaro.org> | 2026-04-30 14:12:59 +0300 |
|---|---|---|
| committer | Jassi Brar <jassisinghbrar@gmail.com> | 2026-05-18 21:33:23 +0300 |
| commit | 7caa16023b14dee4aa791f1a298474db02a791fd (patch) | |
| tree | bfeb34f1a2f9eb2d9872726015cbb5bb536db041 | |
| parent | cfba87b3875dd0d78ec6ca75d2446412030133fa (diff) | |
| download | linux-7caa16023b14dee4aa791f1a298474db02a791fd.tar.xz | |
mailbox: exynos: Drop unused register definitions
Leaving these dead definitions in place hides which registers are
actually being used by the hardware, making the driver harder to read
and maintain. Remove them to clean up the file.
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Reviewed-by: Alexey Klimov <alexey.klimov@linaro.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
| -rw-r--r-- | drivers/mailbox/exynos-mailbox.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/mailbox/exynos-mailbox.c b/drivers/mailbox/exynos-mailbox.c index d2355b128ba4..fa02f18948cf 100644 --- a/drivers/mailbox/exynos-mailbox.c +++ b/drivers/mailbox/exynos-mailbox.c @@ -16,15 +16,8 @@ #include <linux/platform_device.h> #include <linux/slab.h> -#define EXYNOS_MBOX_MCUCTRL 0x0 /* Mailbox Control Register */ -#define EXYNOS_MBOX_INTCR0 0x24 /* Interrupt Clear Register 0 */ #define EXYNOS_MBOX_INTMR0 0x28 /* Interrupt Mask Register 0 */ -#define EXYNOS_MBOX_INTSR0 0x2c /* Interrupt Status Register 0 */ -#define EXYNOS_MBOX_INTMSR0 0x30 /* Interrupt Mask Status Register 0 */ #define EXYNOS_MBOX_INTGR1 0x40 /* Interrupt Generation Register 1 */ -#define EXYNOS_MBOX_INTMR1 0x48 /* Interrupt Mask Register 1 */ -#define EXYNOS_MBOX_INTSR1 0x4c /* Interrupt Status Register 1 */ -#define EXYNOS_MBOX_INTMSR1 0x50 /* Interrupt Mask Status Register 1 */ #define EXYNOS_MBOX_INTMR0_MASK GENMASK(15, 0) #define EXYNOS_MBOX_INTGR1_MASK GENMASK(15, 0) |
