diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-09-07 12:04:48 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-09-10 19:47:05 +0100 |
commit | f29b08cd0b8613c2ca23f691073deb37d4dc055c (patch) | |
tree | cc65980c9d15d09e2f62ba33908dfa7f34666b7c /rust/helpers/vmalloc.c | |
parent | 106511d280c75908b5252e465ffb57cc66b05a2d (diff) |
iio: adc: PAC1934: 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
50985 23992 192 75169 125a1 drivers/iio/adc/pac1934.o
After:
=====
text data bss dec hex filename
50654 23920 192 74766 1240e drivers/iio/adc/pac1934.o
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://patch.msgid.link/f92033415f43aa02fe862cb952e62b6ded949056.1757239464.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions