Commit 87568264 authored by Richard Weinberger's avatar Richard Weinberger

irq: Remove irq_chip->release()

As it's only user (UML) does no longer need it we can get
rid of it.
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 985a94a9
...@@ -335,11 +335,6 @@ struct irq_chip { ...@@ -335,11 +335,6 @@ struct irq_chip {
void (*irq_print_chip)(struct irq_data *data, struct seq_file *p); void (*irq_print_chip)(struct irq_data *data, struct seq_file *p);
unsigned long flags; unsigned long flags;
/* Currently used only by UML, might disappear one day.*/
#ifdef CONFIG_IRQ_RELEASE_METHOD
void (*release)(unsigned int irq, void *dev_id);
#endif
}; };
/* /*
......
...@@ -1204,12 +1204,6 @@ static struct irqaction *__free_irq(unsigned int irq, void *dev_id) ...@@ -1204,12 +1204,6 @@ static struct irqaction *__free_irq(unsigned int irq, void *dev_id)
/* Found it - now remove it from the list of entries: */ /* Found it - now remove it from the list of entries: */
*action_ptr = action->next; *action_ptr = action->next;
/* Currently used only by UML, might disappear one day: */
#ifdef CONFIG_IRQ_RELEASE_METHOD
if (desc->irq_data.chip->release)
desc->irq_data.chip->release(irq, dev_id);
#endif
/* If this was the last handler, shut down the IRQ line: */ /* If this was the last handler, shut down the IRQ line: */
if (!desc->action) if (!desc->action)
irq_shutdown(desc); irq_shutdown(desc);
......
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