diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-03-14 12:13:30 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-03-15 04:46:54 +0100 |
commit | ef37d1f9acb57b7a5993e93ae582ba5f4108919e (patch) | |
tree | a8e59b4993a6b01ee82daa91e77c8af3ac7c66e3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 58483761810087e5ffdf36e84ac1bf26df909097 (diff) | |
download | linux-ef37d1f9acb57b7a5993e93ae582ba5f4108919e.tar.gz linux-ef37d1f9acb57b7a5993e93ae582ba5f4108919e.tar.bz2 linux-ef37d1f9acb57b7a5993e93ae582ba5f4108919e.zip |
thermal/drivers/cpufreq_cooling: Use device name instead of auto-numbering
Currently the naming of a cooling device is just a cooling technique
followed by a number. When there are multiple cooling devices using
the same technique, it is impossible to clearly identify the related
device as this one is just a number.
For instance:
thermal-cpufreq-0
thermal-cpufreq-1
etc ...
The 'thermal' prefix is redundant with the subsystem namespace. This
patch removes the 'thermal' prefix and changes the number by the device
name. So the naming above becomes:
cpufreq-cpu0
cpufreq-cpu4
etc ...
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://lore.kernel.org/r/20210314111333.16551-2-daniel.lezcano@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions