commit | e35e0a04a9965bcb4fffe4375baaecd408ad2357 | [log] [tgz] |
---|---|---|
author | Hoan Tran <hotran@apm.com> | Thu Jun 22 19:26:04 2017 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Thu Jun 22 20:16:18 2017 +0100 |
tree | 6ccb568a1bebe6955be0538099f32711acbbc655 | |
parent | 838955e2a3c010aff9089fd705ae2cd5638cdee8 [diff] |
perf: xgene: Move PMU leaf functions into function pointer structure This patch moves PMU leaf functions into a function pointer structure. It helps code maintain and expasion easier. Signed-off-by: Hoan Tran <hotran@apm.com> [Mark: remove redundant cast] Signed-off-by: Mark Rutland <mark.rutland@arm.com> [will: make xgene_pmu_ops static] Signed-off-by: Will Deacon <will.deacon@arm.com>