diff options
| author | Dixit Parmar <dixitparmar19@gmail.com> | 2025-10-11 11:11:49 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-10-19 13:59:22 +0300 |
| commit | f277fe2ff54aeea3b5c31aa045f03ccea612a299 (patch) | |
| tree | a51d9a92d7581d4a7ae920644b2bbec3177082d2 /include | |
| parent | d34ad6467200380c8f8337ceefee9f3d8cee5492 (diff) | |
| download | linux-f277fe2ff54aeea3b5c31aa045f03ccea612a299.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
