summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2022-02-24 14:28:49 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-02-26 18:43:59 +0000
commitb30537a4cedcacf0ade2f33ebb7610178ed1e7d7 (patch)
tree81e0e826ad0212e09f6fa21afad721b3eb636dbe /lib/mpi/mpi-mod.c
parent10dce8deabb523b2cb43be517f6df89d25a11d27 (diff)
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: 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>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions