Skip to content
Commit e35e0a04 authored by Hoan Tran's avatar Hoan Tran Committed by Will Deacon
Browse files

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: default avatarHoan Tran <hotran@apm.com>
[Mark: remove redundant cast]
Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
[will: make xgene_pmu_ops static]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 838955e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment