aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
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/testing/selftests/bpf/prog_tests/autoload.c
parentpower: supply: sbs-charger: Support multiple devices (diff)
downloadlinux-7d715345a86941b9e6c8e520b40078692baed4a4.tar.gz
linux-7d715345a86941b9e6c8e520b40078692baed4a4.zip
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/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions