diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-10-30 18:19:18 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-11-01 14:54:47 +0000 |
| commit | 8ebfd09255219ae55f8a101f6aeb0f64dd780d88 (patch) | |
| tree | 01e5d524c4983400bd21c1a3481be40d4598e5e9 /scripts/gdb/linux/utils.py | |
| parent | f35f3c832eb58862ab9b62f8e24d1d8864f9f205 (diff) | |
iio: adc: ad4000: Check for error code from devm_mutex_init() call
Even if it's not critical, the avoidance of checking the error code
from devm_mutex_init() call today diminishes the point of using devm
variant of it. Tomorrow it may even leak something. Add the missed
check.
Fixes: 938fd562b974 ("iio: adc: Add support for AD4000")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20241030162013.2100253-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
