diff options
| author | Qianfeng Rong <rongqianfeng@vivo.com> | 2025-08-14 22:36:53 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-09-06 23:32:11 +0200 |
| commit | d48d4e4f141b38944da3b0a9c21ce6828ec31d83 (patch) | |
| tree | 4d93a560e9bebef7c1c3f1d554af6ab1d89a4555 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 15a84d15a677533afa55010f1e2052a27fcd854d (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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
