commit | 46ea4d46d510a251677b7aef50ad5d07a0ed9c77 | [log] [tgz] |
---|---|---|
author | Mark Rutland <mark.rutland@arm.com> | Tue Jan 31 16:26:04 2017 +0000 |
committer | Mark Rutland <mark.rutland@arm.com> | Tue Mar 07 11:59:19 2017 +0000 |
tree | cacda55f2c0ab7b34ed39cdd5409099e79ee1d01 | |
parent | a675a7f2be096d511da598f81afbd7da5f9f8c81 [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> Cc: Will Deacon <will.deacon@arm.com>