summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-14 22:36:53 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2025-09-06 23:32:11 +0200
commitd48d4e4f141b38944da3b0a9c21ce6828ec31d83 (patch)
tree4d93a560e9bebef7c1c3f1d554af6ab1d89a4555 /tools/perf/scripts/python/task-analyzer.py
parent15a84d15a677533afa55010f1e2052a27fcd854d (diff)
power: supply: use max() to improve code
Use max() to reduce the code in cw_battery_get_property() and improve its readability. Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions