diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2018-04-03 12:49:03 +0300 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2018-05-22 05:07:09 +0300 |
commit | 33e678d47d1f3e8d485d38c87bc494ad7bf697f0 (patch) | |
tree | 4c0194ac3b3819eb91ccfe637efa9ae5971bbf02 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 771c577c23bac90597c685971d7297ea00f99d11 (diff) | |
download | linux-33e678d47d1f3e8d485d38c87bc494ad7bf697f0.tar.xz |
thermal: Shorten name of sysfs callbacks
The naming isn't consistent across all sysfs callbacks in the thermal
core, some have a short name like type_show() and others have long names
like thermal_cooling_device_weight_show(). This patch tries to make it
consistent by shortening the name of sysfs callbacks.
Some of the sysfs files are named similarly for both thermal zone and
cooling device (like: type) and to avoid name clash between their
show/store routines, the cooling device specific sysfs callbacks are
prefixed with "cdev_".
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions