mfd: da9063: Remove unused struct da9063_irq_data and define EVENTS_BUF_LEN
authorSteve Twiss <stwiss.opensource@diasemi.com>
Tue, 5 Apr 2016 08:41:47 +0000 (09:41 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 19 Apr 2016 06:53:42 +0000 (07:53 +0100)
The structure da9063_irq_data and define EVENTS_BUF_LEN are not used, so
remove the redundant entries.

Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9063-irq.c

index 0aa760e155ec8b750d2fce021af764c05511a0d3..7e903fcb88131c71db1c107cf1346b349eb66c17 100644 (file)
 #define        DA9063_REG_EVENT_B_OFFSET       1
 #define        DA9063_REG_EVENT_C_OFFSET       2
 #define        DA9063_REG_EVENT_D_OFFSET       3
-#define EVENTS_BUF_LEN                 4
-
-struct da9063_irq_data {
-       u16 reg;
-       u8 mask;
-};
 
 static const struct regmap_irq da9063_irqs[] = {
        /* DA9063 event A register */