powerpc: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we
already have a pointer to corresponding irq_desc.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Jiang Liu
2015-05-20 17:59:52 +08:00
committed by Michael Ellerman
parent d20be433e6
commit c1231a784a
5 changed files with 5 additions and 5 deletions

View File

@@ -198,7 +198,7 @@ void uic_irq_cascade(unsigned int virq, struct irq_desc *desc)
{
struct irq_chip *chip = irq_desc_get_chip(desc);
struct irq_data *idata = irq_desc_get_irq_data(desc);
struct uic *uic = irq_get_handler_data(virq);
struct uic *uic = irq_desc_get_handler_data(desc);
u32 msr;
int src;
int subvirq;