summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2025-09-08 21:35:28 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2025-09-09 00:36:23 +0200
commit7d715345a86941b9e6c8e520b40078692baed4a4 (patch)
tree156c0e5745951a687a7ffa7b236260f1cc765229 /tools/perf/scripts/python/event_analyzing_sample.py
parent3ec600210849cf122606e24caab85f0b936cf63c (diff)
power: supply: Use devm_mutex_init()
Use devm_mutex_init() instead of hand-writing it. This saves some LoC, improves readability and saves some space in the generated .o file. As an example: Before: ====== text data bss dec hex filename 35803 9352 384 45539 b1e3 drivers/power/supply/rt9467-charger.o After: ===== text data bss dec hex filename 34792 9008 384 44184 ac98 drivers/power/supply/rt9467-charger.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> 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