diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-09-14 04:27:13 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-09-14 04:30:05 -0400 |
commit | 5230347ea70a811f0a526e8e4f0f529ac31b7d18 (patch) | |
tree | d36de972636397efd4a9782052ca14b0079d5df5 /drivers/soc | |
parent | 391de7f9ef9e6a500343d977ccd037b70e62aa45 (diff) |
soc: dove: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
Search and replace done with coccinelle
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/dove/pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/dove/pmu.c b/drivers/soc/dove/pmu.c index 6792aae9e2e5..4decb26e8116 100644 --- a/drivers/soc/dove/pmu.c +++ b/drivers/soc/dove/pmu.c | |||
@@ -224,7 +224,7 @@ static void __pmu_domain_register(struct pmu_domain *domain, | |||
224 | /* PMU IRQ controller */ | 224 | /* PMU IRQ controller */ |
225 | static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc) | 225 | static void pmu_irq_handler(unsigned int irq, struct irq_desc *desc) |
226 | { | 226 | { |
227 | struct pmu_data *pmu = irq_get_handler_data(irq); | 227 | struct pmu_data *pmu = irq_desc_get_handler_data(desc); |
228 | struct irq_chip_generic *gc = pmu->irq_gc; | 228 | struct irq_chip_generic *gc = pmu->irq_gc; |
229 | struct irq_domain *domain = pmu->irq_domain; | 229 | struct irq_domain *domain = pmu->irq_domain; |
230 | void __iomem *base = gc->reg_base; | 230 | void __iomem *base = gc->reg_base; |