diff options
author | Mark Brown | 2011-10-25 10:19:04 +0200 |
---|---|---|
committer | Mark Brown | 2011-12-12 17:14:06 +0100 |
commit | 8ab30691826fc05efa47c4ffba19b80496bb3a2c (patch) | |
tree | b1c405e1eebfd3127ccb5aba5c71eb547bc59687 /include/linux/mfd | |
parent | Merge branch 'topic/irq' of git://git.kernel.org/pub/scm/linux/kernel/git/bro... (diff) | |
download | kernel-qcow2-linux-8ab30691826fc05efa47c4ffba19b80496bb3a2c.tar.gz kernel-qcow2-linux-8ab30691826fc05efa47c4ffba19b80496bb3a2c.tar.xz kernel-qcow2-linux-8ab30691826fc05efa47c4ffba19b80496bb3a2c.zip |
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')
-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 { int irq_base; int irq; - u16 irq_masks_cur[WM8994_NUM_IRQ_REGS]; - u16 irq_masks_cache[WM8994_NUM_IRQ_REGS]; + struct regmap_irq_chip_data *irq_data; /* Used over suspend/resume */ bool suspended; |