Jonathan Cameron b6eb572f38 iio: adc: stm32: Fixing err code to not indicate success
[ Upstream commit 3735ca0b072656c3aa2cedc617a5e639b583a472 ]

This path would result in returning 0 / success on an error path.

Cc: Olivier Moysan <olivier.moysan@foss.st.com>
Fixes: 95bc818404b2 ("iio: adc: stm32-adc: add support of generic channels binding")
Reviewed-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20240330185305.1319844-4-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-12 11:03:37 +02:00
..
2022-08-16 12:46:26 +02:00
2023-04-13 16:55:31 +02:00
2022-07-16 18:50:24 +01:00
2024-01-25 15:27:47 -08:00
2022-09-05 18:08:34 +01:00
2022-01-23 18:03:36 +00:00
2022-09-05 18:08:34 +01:00
2022-07-18 18:29:29 +01:00
2022-08-15 22:29:57 +01:00