]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpupower: Move print_speed function into misc helper
authorHuang Rui <ray.huang@amd.com>
Tue, 22 Feb 2022 15:34:24 +0000 (23:34 +0800)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 23 Feb 2022 01:37:07 +0000 (18:37 -0700)
commit35fdf42d90d09d2d00ef65999fe338027a6b4d8e
tree26f6b498c123881d0674f7c52a71008da621c939
parentbf9801baa81802dac7e2a5318944ca2f4bfa74ef
cpupower: Move print_speed function into misc helper

The print_speed can be as a common function, and expose it into misc
helper header. Then it can be used on other helper files as well.

Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/utils/cpufreq-info.c
tools/power/cpupower/utils/helpers/helpers.h
tools/power/cpupower/utils/helpers/misc.c