[07/16] media: ti-vpe: cal: remove unused defines
Commit Message
Remove a bunch of IRQ defines that are never used.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
drivers/media/platform/ti-vpe/cal_regs.h | 6 ------
1 file changed, 6 deletions(-)
Comments
Hi Tomi,
Thank you for the patch.
On Fri, Mar 13, 2020 at 01:41:12PM +0200, Tomi Valkeinen wrote:
> Remove a bunch of IRQ defines that are never used.
>
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/media/platform/ti-vpe/cal_regs.h | 6 ------
> 1 file changed, 6 deletions(-)
>
> diff --git a/drivers/media/platform/ti-vpe/cal_regs.h b/drivers/media/platform/ti-vpe/cal_regs.h
> index 532d4a95740a..b27c0445b8d5 100644
> --- a/drivers/media/platform/ti-vpe/cal_regs.h
> +++ b/drivers/media/platform/ti-vpe/cal_regs.h
> @@ -142,12 +142,6 @@
> #define CAL_HL_IRQ_EOI_LINE_NUMBER_EOI0 0
>
> #define CAL_HL_IRQ_MASK(m) BIT((m) - 1)
> -#define CAL_HL_IRQ_NOACTION 0x0
> -#define CAL_HL_IRQ_ENABLE 0x1
> -#define CAL_HL_IRQ_CLEAR 0x1
> -#define CAL_HL_IRQ_DISABLED 0x0
> -#define CAL_HL_IRQ_ENABLED 0x1
> -#define CAL_HL_IRQ_PENDING 0x1
>
> #define CAL_HL_IRQ_CIO_MASK(i) BIT(16 + (i-1) * 8)
> #define CAL_HL_IRQ_VC_MASK(i) BIT(17 + (i-1) * 8)
@@ -142,12 +142,6 @@
#define CAL_HL_IRQ_EOI_LINE_NUMBER_EOI0 0
#define CAL_HL_IRQ_MASK(m) BIT((m) - 1)
-#define CAL_HL_IRQ_NOACTION 0x0
-#define CAL_HL_IRQ_ENABLE 0x1
-#define CAL_HL_IRQ_CLEAR 0x1
-#define CAL_HL_IRQ_DISABLED 0x0
-#define CAL_HL_IRQ_ENABLED 0x1
-#define CAL_HL_IRQ_PENDING 0x1
#define CAL_HL_IRQ_CIO_MASK(i) BIT(16 + (i-1) * 8)
#define CAL_HL_IRQ_VC_MASK(i) BIT(17 + (i-1) * 8)