drivers/perf: hisi: Extract initialization of "cpa_pmu->pmu"
mainline inclusion from mainline-v6.3-rc1 commit e126f6f4 category: cleanup bugzilla: https://gitee.com/openeuler/kernel/issues/I77IH6 CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e126f6f42f89baee09e088ab6bc48f83ac3a0eae ---------------------------------------------------------------------- Use hisi_pmu_init() function to simplify initialization of "cpa_pmu->pmu". Signed-off-by: NJunhao He <hejunhao3@huawei.com> Link: https://lore.kernel.org/r/20230119100307.3660-4-hejunhao3@huawei.comSigned-off-by: NWill Deacon <will@kernel.org>
Showing
想要评论请 注册 或 登录