]> asedeno.scripts.mit.edu Git - linux.git/commit
PM / devfreq: tegra30: Use kHz units uniformly in the code
authorDmitry Osipenko <digetx@gmail.com>
Mon, 4 Nov 2019 21:56:04 +0000 (00:56 +0300)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 6 Nov 2019 03:04:00 +0000 (12:04 +0900)
commit0ce3884654d186842eed858b6d41925539696454
treea041540487ad201409144d37b822140a1831bb39
parent53b4b2aeee26f42cde5ff2a16dd0d8590c51a55a
PM / devfreq: tegra30: Use kHz units uniformly in the code

Part of the code uses Hz units and the other kHz, let's switch to kHz
everywhere for consistency. A small benefit from this change (besides
code's cleanup) is that now powertop utility correctly displays devfreq's
stats, for some reason it expects them to be in kHz.

Tested-by: Peter Geis <pgwipeout@gmail.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/tegra30-devfreq.c