Jiasheng Jiang afcbc63752 iio: adc: Add check for devm_request_threaded_irq
[ Upstream commit b30537a4cedcacf0ade2f33ebb7610178ed1e7d7 ]

As the potential failure of the devm_request_threaded_irq(),
it should be better to check the return value and return
error if fails.

Fixes: fa659a40b80b ("iio: adc: twl6030-gpadc: Use devm_* API family")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220224062849.3280966-1-jiasheng@iscas.ac.cn
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:25 +02:00
..
2021-10-20 11:45:01 +02:00
2020-09-29 17:34:25 +01:00
2021-05-14 09:49:58 +02:00
2021-10-20 11:45:02 +02:00
2021-10-20 11:45:02 +02:00
2020-10-15 11:07:44 -07:00