diff options
author | Gautham R. Shenoy <gautham.shenoy@amd.com> | 2024-04-25 11:07:54 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-04-26 20:35:38 +0300 |
commit | 3cbbe8871a2fb8f454e740f3e04ff2e29b573abe (patch) | |
tree | 35d7597bb11235dc9dc2f4c18502ed9e6171cafa /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 5547c0ebfc2efdab6ee93a7fd4d9c411ad87013e (diff) | |
download | linux-3cbbe8871a2fb8f454e740f3e04ff2e29b573abe.tar.xz |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions