Commit 583cca6e authored by Mark Brown's avatar Mark Brown

mfd: Remove some unused functions in wm8894-irq

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarSamuel Oritz <sameo@linux.intel.com>
parent caca6a03
...@@ -140,16 +140,6 @@ static struct wm8994_irq_data wm8994_irqs[] = { ...@@ -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, static inline struct wm8994_irq_data *irq_to_wm8994_irq(struct wm8994 *wm8994,
int irq) int irq)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment