]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/perf: arm_pmu: simplify cpu_pmu_request_irqs()
authorMark Rutland <mark.rutland@arm.com>
Tue, 11 Apr 2017 08:39:48 +0000 (09:39 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 11 Apr 2017 15:29:53 +0000 (16:29 +0100)
commit0abc93d86772df053114129203b72a980cc43e15
treeffef1680e6e4aa6bf5db7c938e0a975306073394
parent3f53d873ce58461be99dbcddf7e5db2d264b1eb1
drivers/perf: arm_pmu: simplify cpu_pmu_request_irqs()

The ARM PMU framework code always uses armpmu_dispatch_irq as its common
IRQ handler. Passing this down from cpu_pmu_init() is somewhat
pointless, and gets in the way of refactoring.

This patch makes cpu_pmu_request_irqs() always use armpmu_dispatch_irq
as the handler when requesting IRQs, and removes the handler parameter
from its prototype.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/perf/arm_pmu.c