Commit 425c8fb9 authored by Shaokun Zhang's avatar Shaokun Zhang Committed by Yang Yingliang
Browse files

drivers/perf: hisi: Simplify hisi_read_sccl_and_ccl_id and its comment

mainline inclusion
from mainline-v5.5-rc3
commit 73daf0bb
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4A1XO
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=73daf0bba32604a1b414b9ef429cd25aeae5b95e



------------------------------------------------------------------------

hisi_read_sccl_and_ccl_id is not readable and its comment is a little
confused, so simplify the function and its comment as Mark's suggestion.

Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Reviewed-by: default avatarJohn Garry <john.garry@huawei.com>
Suggested-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarShaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarQi Liu <liuqi115@huawei.com>
Reviewed-by: default avatarYang Jihong <yangjihong1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent e6e41c7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment