summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDixit Parmar <dixitparmar19@gmail.com>2025-10-11 11:11:49 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-10-19 13:59:22 +0300
commitf277fe2ff54aeea3b5c31aa045f03ccea612a299 (patch)
treea51d9a92d7581d4a7ae920644b2bbec3177082d2 /include/linux
parentd34ad6467200380c8f8337ceefee9f3d8cee5492 (diff)
downloadlinux-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/linux')
0 files changed, 0 insertions, 0 deletions