diff options
author | Mark Rutland <mark.rutland@arm.com> | 2017-04-11 09:39:46 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-04-11 16:29:53 +0100 |
commit | 70cd908a18f618577c449ad47988f4d442c9bc84 (patch) | |
tree | b20d7d05a2ede75ad879c2d00ec76e62e7e6cc12 /certs | |
parent | 083c52144a19c69b7956aa53c913ba621f7c5ae2 (diff) | |
download | linux-stable-70cd908a18f618577c449ad47988f4d442c9bc84.tar.gz linux-stable-70cd908a18f618577c449ad47988f4d442c9bc84.tar.bz2 linux-stable-70cd908a18f618577c449ad47988f4d442c9bc84.zip |
drivers/perf: arm_pmu: fold init into alloc
Given we always want to initialise common fields on an allocated PMU,
this patch folds this common initialisation into armpmu_alloc(). This
will make it simpler to reuse this code for an ACPI-specific probe path.
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 'certs')
0 files changed, 0 insertions, 0 deletions