diff options
author | Steve Twiss <stwiss.opensource@diasemi.com> | 2016-04-05 09:41:47 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-04-19 07:53:42 +0100 |
commit | c796c50b9c20b586cd8c3e3a57cea4f0762a60fc (patch) | |
tree | 659648208eb79f5653e6bd65e31292e8ab44c711 | |
parent | 22aab38e7b59fd79ce1045006be69a9abab58e5a (diff) | |
download | op-kernel-dev-c796c50b9c20b586cd8c3e3a57cea4f0762a60fc.zip op-kernel-dev-c796c50b9c20b586cd8c3e3a57cea4f0762a60fc.tar.gz |
mfd: da9063: Remove unused struct da9063_irq_data and define EVENTS_BUF_LEN
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>
-rw-r--r-- | drivers/mfd/da9063-irq.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mfd/da9063-irq.c b/drivers/mfd/da9063-irq.c index 0aa760e..7e903fc 100644 --- a/drivers/mfd/da9063-irq.c +++ b/drivers/mfd/da9063-irq.c @@ -25,12 +25,6 @@ #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 */ |