]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mailbox: exynos: Drop unused register definitions
authorTudor Ambarus <tudor.ambarus@linaro.org>
Thu, 30 Apr 2026 11:12:59 +0000 (11:12 +0000)
committerJassi Brar <jassisinghbrar@gmail.com>
Mon, 18 May 2026 18:33:23 +0000 (13:33 -0500)
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>
drivers/mailbox/exynos-mailbox.c

index d2355b128ba4338fac9ec0cc527ed7490e768aa1..fa02f18948cfb329f79e629cfa6124122ed7a7fa 100644 (file)
 #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)