diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-14 16:46:09 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-01-09 00:37:42 +0100 |
commit | 12aef0ace3758594ab1fcfb027fa690246321e0d (patch) | |
tree | 2d0b2330efde82b4e1b4cdf75a789e762fbddfad /drivers/mfd/wm831x-irq.c | |
parent | 8584cb82f1516042e7390082d27b7c29329e21f4 (diff) | |
download | linux-stable-12aef0ace3758594ab1fcfb027fa690246321e0d.tar.gz linux-stable-12aef0ace3758594ab1fcfb027fa690246321e0d.tar.bz2 linux-stable-12aef0ace3758594ab1fcfb027fa690246321e0d.zip |
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) return WM831X_INTERRUPT_STATUS_1 - 1 + irq_data->reg; } -static inline int irq_data_to_mask_reg(struct wm831x_irq_data *irq_data) -{ - return WM831X_INTERRUPT_STATUS_1_MASK - 1 + irq_data->reg; -} - static inline struct wm831x_irq_data *irq_to_wm831x_irq(struct wm831x *wm831x, int irq) { |