arm_pmu: fold platform helpers into platform code
authorMark Rutland <mark.rutland@arm.com>
Mon, 5 Feb 2018 16:41:57 +0000 (16:41 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 20 Feb 2018 11:34:53 +0000 (11:34 +0000)
commitd3d5aac206b4e9e569a22fe1811c909dde17587c
tree7237daa6fe900a105abb946f4622c81d3212cef6
parentc0248c96631f38f02d58762fc018e316843acac8
arm_pmu: fold platform helpers into platform code

The armpmu_{request,free}_irqs() helpers are only used by
arm_pmu_platform.c, so let's fold them in and make them static.

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>
drivers/perf/arm_pmu.c
drivers/perf/arm_pmu_platform.c
include/linux/perf/arm_pmu.h