Commit cf0d6b76 authored by Thomas Gleixner's avatar Thomas Gleixner

arm: dove: Use proper irq accessor functions

Remove the obsolete desc_handle_irq() helper.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent fdea77b8
...@@ -10,14 +10,6 @@ static inline void ack_bad_irq(int irq) ...@@ -10,14 +10,6 @@ static inline void ack_bad_irq(int irq)
irq_err_count++; irq_err_count++;
} }
/*
* Obsolete inline function for calling irq descriptor handlers.
*/
static inline void desc_handle_irq(unsigned int irq, struct irq_desc *desc)
{
desc->handle_irq(irq, desc);
}
void set_irq_flags(unsigned int irq, unsigned int flags); void set_irq_flags(unsigned int irq, unsigned int flags);
#define IRQF_VALID (1 << 0) #define IRQF_VALID (1 << 0)
......
...@@ -86,8 +86,7 @@ static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc) ...@@ -86,8 +86,7 @@ static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc)
if (!(cause & (1 << irq))) if (!(cause & (1 << irq)))
continue; continue;
irq = pmu_to_irq(irq); irq = pmu_to_irq(irq);
desc = irq_desc + irq; generic_handle_irq(irq);
desc_handle_irq(irq, desc);
} }
} }
...@@ -124,7 +123,7 @@ void __init dove_init_irq(void) ...@@ -124,7 +123,7 @@ void __init dove_init_irq(void)
for (i = IRQ_DOVE_PMU_START; i < NR_IRQS; i++) { for (i = IRQ_DOVE_PMU_START; i < NR_IRQS; i++) {
set_irq_chip(i, &pmu_irq_chip); set_irq_chip(i, &pmu_irq_chip);
set_irq_handler(i, handle_level_irq); set_irq_handler(i, handle_level_irq);
irq_desc[i].status |= IRQ_LEVEL; irq_set_status_flags(i, IRQ_LEVEL);
set_irq_flags(i, IRQF_VALID); set_irq_flags(i, IRQF_VALID);
} }
set_irq_chained_handler(IRQ_DOVE_PMU, pmu_irq_handler); set_irq_chained_handler(IRQ_DOVE_PMU, pmu_irq_handler);
......
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