cpupower: Remove family arg to decode_pstates()
authorNathan Fontenot <nathan.fontenot@amd.com>
Mon, 25 Jan 2021 17:36:01 +0000 (11:36 -0600)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 26 Jan 2021 16:40:39 +0000 (09:40 -0700)
commitd1abc4e996d7784ce4d56749e4b5ca8ff23b1e0f
tree3ab09f2534c66bbecbc9bee04ed3914b27200d90
parent56a85eebebdba62ebf6c46bd957949cc6e926aa0
cpupower: Remove family arg to decode_pstates()

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: Nathan Fontenot <nathan.fontenot@amd.com>
Reviewed-by: Robert Richter <rrichter@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/utils/cpufreq-info.c
tools/power/cpupower/utils/helpers/amd.c
tools/power/cpupower/utils/helpers/helpers.h