commit | 70cd908a18f618577c449ad47988f4d442c9bc84 | [log] [tgz] |
---|---|---|
author | Mark Rutland <mark.rutland@arm.com> | Tue Apr 11 09:39:46 2017 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Tue Apr 11 16:29:53 2017 +0100 |
tree | b20d7d05a2ede75ad879c2d00ec76e62e7e6cc12 | |
parent | 083c52144a19c69b7956aa53c913ba621f7c5ae2 [diff] |
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>