diff options
author | 2024-04-25 16:07:54 +0800 | |
---|---|---|
committer | 2024-04-26 19:35:38 +0200 | |
commit | 3cbbe8871a2fb8f454e740f3e04ff2e29b573abe (patch) | |
tree | 35d7597bb11235dc9dc2f4c18502ed9e6171cafa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: amd-pstate: Unify computation of {max,min,nominal,lowest_nonlinear}_freq (diff) | |
download | wireguard-linux-3cbbe8871a2fb8f454e740f3e04ff2e29b573abe.tar.xz wireguard-linux-3cbbe8871a2fb8f454e740f3e04ff2e29b573abe.zip |
cpufreq: amd-pstate: Remove amd_get_{min,max,nominal,lowest_nonlinear}_freq()
amd_get_{min,max,nominal,lowest_nonlinear}_freq() functions merely
return cpudata->{min,max,nominal,lowest_nonlinear}_freq values.
There is no loss in readability in replacing their invocations by
accesses to the corresponding members of cpudata.
Do so and remove these helper functions.
Acked-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Li Meng <li.meng@amd.com>
Tested-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Signed-off-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions