diff options
| author | Matti Vaittinen <mazziesaccount@gmail.com> | 2025-04-07 14:36:23 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-22 21:10:03 +0300 |
| commit | 804757a221a9258eca90129aff4b136abe335446 (patch) | |
| tree | bb24c514cdfd012caf7c51905fc498575e65a417 /include/linux | |
| parent | 6c41d590722c5753d9f15b73d7724a7950c36bf2 (diff) | |
| download | linux-804757a221a9258eca90129aff4b136abe335446.tar.xz | |
iio: adc: ti-adc128s052: Use devm_mutex_init()
Quoting Jonathan:
"Whilst it doesn't bring huge advantage, now we have devm_mutex_init()
it seems reasonable to use it and maybe catch a use after free for the
lock"
Switch to use devm_mutex_init() while working on this file.
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://patch.msgid.link/efe4a039e2bfbf4dcf30743f6b7b88fce3b9ee39.1744022065.git.mazziesaccount@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
