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: NHoan Tran <hotran@apm.com> [Mark: remove redundant cast] Signed-off-by: NMark Rutland <mark.rutland@arm.com> [will: make xgene_pmu_ops static] Signed-off-by: NWill Deacon <will.deacon@arm.com>
Showing
想要评论请 注册 或 登录