diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-02-24 14:28:49 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-15 14:18:18 +0200 |
commit | 546604de8acc4ab7846b4fcc6283c7003be280e4 (patch) | |
tree | 60a04ba7991908a1457d3d3ae9c9bbd1582bf5d5 /fs | |
parent | 1da082f728c72737c08ee38a4ae70f408dca67cc (diff) |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions