powerpc: Use proper accessors for IRQ_* flags

Use the proper accessors instead of open access to irq_desc.
Converted with coccinelle.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner
2011-03-25 15:43:57 +01:00
parent 68f20f43da
commit 98488db9ff
20 changed files with 24 additions and 26 deletions

View File

@@ -618,7 +618,7 @@ struct irq_host *irq_alloc_host(struct device_node *of_node,
smp_wmb();
/* Clear norequest flags */
irq_to_desc(i)->status &= ~IRQ_NOREQUEST;
irq_clear_status_flags(i, IRQ_NOREQUEST);
/* Legacy flags are left to default at this point,
* one can then use irq_create_mapping() to