diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-14 03:46:09 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-08 18:37:42 -0500 |
commit | 12aef0ace3758594ab1fcfb027fa690246321e0d (patch) | |
tree | 2d0b2330efde82b4e1b4cdf75a789e762fbddfad /drivers/mfd/wm831x-irq.c | |
parent | 8584cb82f1516042e7390082d27b7c29329e21f4 (diff) |
mfd: Remove unused wm831x_irq_data_to_mask_reg()
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/wm831x-irq.c')
-rw-r--r-- | drivers/mfd/wm831x-irq.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mfd/wm831x-irq.c b/drivers/mfd/wm831x-irq.c index f4747a4a9a93..7be5f09f4fcf 100644 --- a/drivers/mfd/wm831x-irq.c +++ b/drivers/mfd/wm831x-irq.c | |||
@@ -325,11 +325,6 @@ static inline int irq_data_to_status_reg(struct wm831x_irq_data *irq_data) | |||
325 | return WM831X_INTERRUPT_STATUS_1 - 1 + irq_data->reg; | 325 | return WM831X_INTERRUPT_STATUS_1 - 1 + irq_data->reg; |
326 | } | 326 | } |
327 | 327 | ||
328 | static inline int irq_data_to_mask_reg(struct wm831x_irq_data *irq_data) | ||
329 | { | ||
330 | return WM831X_INTERRUPT_STATUS_1_MASK - 1 + irq_data->reg; | ||
331 | } | ||
332 | |||
333 | static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, | 328 | static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, |
334 | int irq) | 329 | int irq) |
335 | { | 330 | { |