diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-24 09:05:19 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-12 11:07:47 -0500 |
commit | 583cca6e2b1c4bc70dab49d030fc4f795cba5cfe (patch) | |
tree | 58ce3d4c66ea45fa2bc84a07d0afb9fcfe0bf158 /drivers/mfd/wm8994-irq.c | |
parent | caca6a03d365883564885f2c1da3e88dcf65d139 (diff) |
mfd: Remove some unused functions in wm8894-irq
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Oritz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/wm8994-irq.c')
-rw-r--r-- | drivers/mfd/wm8994-irq.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/mfd/wm8994-irq.c b/drivers/mfd/wm8994-irq.c index d682f7bd112c..f9dd6b691258 100644 --- a/drivers/mfd/wm8994-irq.c +++ b/drivers/mfd/wm8994-irq.c | |||
@@ -140,16 +140,6 @@ static struct wm8994_irq_data wm8994_irqs[] = { | |||
140 | }, | 140 | }, |
141 | }; | 141 | }; |
142 | 142 | ||
143 | static inline int irq_data_to_status_reg(struct wm8994_irq_data *irq_data) | ||
144 | { | ||
145 | return WM8994_INTERRUPT_STATUS_1 - 1 + irq_data->reg; | ||
146 | } | ||
147 | |||
148 | static inline int irq_data_to_mask_reg(struct wm8994_irq_data *irq_data) | ||
149 | { | ||
150 | return WM8994_INTERRUPT_STATUS_1_MASK - 1 + irq_data->reg; | ||
151 | } | ||
152 | |||
153 | static inline struct wm8994_irq_data *irq_to_wm8994_irq(struct wm8994 *wm8994, | 143 | static inline struct wm8994_irq_data *irq_to_wm8994_irq(struct wm8994 *wm8994, |
154 | int irq) | 144 | int irq) |
155 | { | 145 | { |