diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-04-11 11:39:47 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-04-11 18:29:53 +0300 |
commit | 74a2b3ea2d8c6c1f73103a0fcb50b5c214c0d864 (patch) | |
tree | 8ef66058c3066d15c9aac3b74cdab6234647896a /samples/blackfin | |
parent | 70cd908a18f618577c449ad47988f4d442c9bc84 (diff) | |
download | linux-74a2b3ea2d8c6c1f73103a0fcb50b5c214c0d864.tar.xz |
drivers/perf: arm_pmu: factor out pmu registration
Currently arm_pmu_device_probe contains probing logic specific to the
platform_device infrastructure, and some logic required to safely
register the PMU with various systems.
This patch factors out the logic relating to the registration of the
PMU. This makes arm_pmu_device_probe a little easier to read, and will
make it easier to reuse the logic for an ACPI-specific probing
mechanism.
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>
Diffstat (limited to 'samples/blackfin')
0 files changed, 0 insertions, 0 deletions