Commit 5cb437af authored by Nathan Fontenot's avatar Nathan Fontenot Committed by Zheng Zengkai
Browse files

cpupower: Remove family arg to decode_pstates()

mainline inclusion
from mainline-5.12-rc1-dontuse
commit d1abc4e9
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4QQWF



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

The decode_pstates() routine no longer uses the CPU family and
the caleed routines (get_cof() and get_did()) can grab the family
from the global cpupower_cpu_info struct. These update removes
passing the family arg to all these routines.

Signed-off-by: default avatarNathan Fontenot <nathan.fontenot@amd.com>
Reviewed-by: default avatarRobert Richter <rrichter@amd.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarqinyu <qinyu16@huawei.com>
Reviewed-by: default avatarChao Liu <liuchao173@huawei.com>
Reviewed-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent c9af8dec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment