summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2025-09-07 12:20:20 +0200
committerGuenter Roeck <linux@roeck-us.net>2025-09-07 16:35:18 -0700
commit552e369db339c4d9f29a5569ec2d661cb4353f40 (patch)
tree2bef2f2bf06cd8afb73f59c0d8c9351a815215f4 /rust/helpers/helpers.c
parent55cb81254333ab90985a9e861d33c6f8e1cf0118 (diff)
hwmon: (nzxt-smart2) 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. Before: ====== text data bss dec hex filename 25878 11329 128 37335 91d7 drivers/hwmon/nzxt-smart2.o After: ===== text data bss dec hex filename 25551 11257 128 36936 9048 drivers/hwmon/nzxt-smart2.o Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/f51fac0871ec7dbe4e28447ee4f774d028a53426.1757240403.git.christophe.jaillet@wanadoo.fr Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions