summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorQianfeng Rong <rongqianfeng@vivo.com>2025-08-14 17:36:53 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2025-09-07 00:32:11 +0300
commitd48d4e4f141b38944da3b0a9c21ce6828ec31d83 (patch)
tree4d93a560e9bebef7c1c3f1d554af6ab1d89a4555 /tools/perf/scripts/python/event_analyzing_sample.py
parent15a84d15a677533afa55010f1e2052a27fcd854d (diff)
downloadlinux-d48d4e4f141b38944da3b0a9c21ce6828ec31d83.tar.xz
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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions