diff options
| author | Dixit Parmar <dixitparmar19@gmail.com> | 2025-10-11 13:41:49 +0530 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-10-19 11:59:22 +0100 |
| commit | f277fe2ff54aeea3b5c31aa045f03ccea612a299 (patch) | |
| tree | a51d9a92d7581d4a7ae920644b2bbec3177082d2 /tools/lib/python/kdoc/python_version.py | |
| parent | d34ad6467200380c8f8337ceefee9f3d8cee5492 (diff) | |
| download | linux-f277fe2ff54aeea3b5c31aa045f03ccea612a299.tar.gz linux-f277fe2ff54aeea3b5c31aa045f03ccea612a299.zip | |
iio: adc: ti-ads131e08: return correct error code
The error code returned from devm_iio_trigger_register() inturn
iio_trigger_register() can be other than -ENOMEM. Hence return the
same value as it was returned from the function call.
This change makes devm_iio_trigger_register() handling uniform with
other iio drivers.
Signed-off-by: Dixit Parmar <dixitparmar19@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
