提交 5230347e 编写于 作者: T Thomas Gleixner

soc: dove: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

Search and replace done with coccinelle
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
上级 391de7f9
......@@ -224,7 +224,7 @@ static void __pmu_domain_register(struct pmu_domain *domain,
/* PMU IRQ controller */
static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc)
{
struct pmu_data *pmu = irq_get_handler_data(irq);
struct pmu_data *pmu = irq_desc_get_handler_data(desc);
struct irq_chip_generic *gc = pmu->irq_gc;
struct irq_domain *domain = pmu->irq_domain;
void __iomem *base = gc->reg_base;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册