Skip to content
Commit b30537a4 authored by 蒋家盛's avatar 蒋家盛 Committed by Jonathan Cameron
Browse files

iio: adc: Add check for devm_request_threaded_irq

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: fa659a40

 ("iio: adc: twl6030-gpadc: Use devm_* API family")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220224062849.3280966-1-jiasheng@iscas.ac.cn
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 10dce8de
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment