diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-25 04:19:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-12 11:14:06 -0500 |
commit | 8ab30691826fc05efa47c4ffba19b80496bb3a2c (patch) | |
tree | b1c405e1eebfd3127ccb5aba5c71eb547bc59687 /include/linux/mfd/wm8994 | |
parent | e292b578c9bd587ad8fe230aa0500bde7be3c68a (diff) |
mfd: Convert wm8994 to use generic regmap irq_chip
Factor out the irq_chip implementation, substantially reducing the code
size for the driver.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/wm8994')
-rw-r--r-- | include/linux/mfd/wm8994/core.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mfd/wm8994/core.h b/include/linux/mfd/wm8994/core.h index 4dd4409678ce..9eff2a351ec5 100644 --- a/include/linux/mfd/wm8994/core.h +++ b/include/linux/mfd/wm8994/core.h | |||
@@ -67,8 +67,7 @@ struct wm8994 { | |||
67 | int irq_base; | 67 | int irq_base; |
68 | 68 | ||
69 | int irq; | 69 | int irq; |
70 | u16 irq_masks_cur[WM8994_NUM_IRQ_REGS]; | 70 | struct regmap_irq_chip_data *irq_data; |
71 | u16 irq_masks_cache[WM8994_NUM_IRQ_REGS]; | ||
72 | 71 | ||
73 | /* Used over suspend/resume */ | 72 | /* Used over suspend/resume */ |
74 | bool suspended; | 73 | bool suspended; |