mfd: Remove some unused functions in wm8894-irq
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 24 Oct 2011 13:05:19 +0000 (15:05 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 12 Dec 2011 16:07:47 +0000 (00:07 +0800)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Samuel Oritz <sameo@linux.intel.com>
drivers/mfd/wm8994-irq.c

index d682f7bd112cecf45519ceb178404c958c0f4747..f9dd6b691258dfe699064b223070058edbcee3f0 100644 (file)
@@ -140,16 +140,6 @@ static struct wm8994_irq_data wm8994_irqs[] = {
        },
 };
 
-static inline int irq_data_to_status_reg(struct wm8994_irq_data *irq_data)
-{
-       return WM8994_INTERRUPT_STATUS_1 - 1 + irq_data->reg;
-}
-
-static inline int irq_data_to_mask_reg(struct wm8994_irq_data *irq_data)
-{
-       return WM8994_INTERRUPT_STATUS_1_MASK - 1 + irq_data->reg;
-}
-
 static inline struct wm8994_irq_data *irq_to_wm8994_irq(struct wm8994 *wm8994,
                                                        int irq)
 {