浏览代码

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>
Steve Twiss 9 年之前
父节点
当前提交
c796c50b9c
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      drivers/mfd/da9063-irq.c

+ 0 - 6
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 */