linux/drivers/perf
Mark Rutland 0788f1e973 arm_pmu: simplify arm_pmu::handle_irq
The arm_pmu::handle_irq() callback has the same prototype as a generic
IRQ handler, taking the IRQ number and a void pointer argument which it
must convert to an arm_pmu pointer.

This means that all arm_pmu::handle_irq() take an IRQ number they never
use, and all must explicitly cast the void pointer to an arm_pmu
pointer.

Instead, let's change arm_pmu::handle_irq to take an arm_pmu pointer,
allowing these casts to be removed. The redundant IRQ number parameter
is also removed.

Suggested-by: Hoeun Ryu <hoeun.ryu@lge.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2018-05-21 18:07:05 +01:00
..
hisilicon perf: Fix sibling iteration 2018-03-16 20:44:12 +01:00
arm_dsu_pmu.c perf: Fix sibling iteration 2018-03-16 20:44:12 +01:00
arm_pmu_acpi.c arm_pmu: acpi: request IRQs up-front 2018-02-20 11:34:54 +00:00
arm_pmu_platform.c drivers/perf: arm_pmu_platform: do not warn about affinity on uniprocessor 2018-03-27 13:13:27 +01:00
arm_pmu.c arm_pmu: simplify arm_pmu::handle_irq 2018-05-21 18:07:05 +01:00
arm_spe_pmu.c perf: simplify getting .drvdata 2018-05-21 18:02:35 +01:00
arm-cci.c perf/arm-cci: Remove unnecessary period adjustment 2018-05-21 18:06:11 +01:00
arm-ccn.c ARM: SoC driver updates for 4.17 2018-04-05 21:29:35 -07:00
Kconfig drivers/bus: Split Arm CCI driver 2018-03-06 17:26:17 +01:00
Makefile drivers/bus: Split Arm CCI driver 2018-03-06 17:26:17 +01:00
qcom_l2_pmu.c perf: Fix sibling iteration 2018-03-16 20:44:12 +01:00
qcom_l3_pmu.c perf: Fix sibling iteration 2018-03-16 20:44:12 +01:00
xgene_pmu.c perf: Fix sibling iteration 2018-03-16 20:44:12 +01:00