Kangjie Lu 13814627c9 iio: adc: fix a potential NULL pointer dereference
devm_iio_trigger_alloc may fail and return NULL. The fix returns
ENOMEM when it fails.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-04-04 20:19:53 +01:00
..
2018-04-28 18:03:22 +01:00
2019-02-02 15:47:46 +00:00
2018-06-12 16:19:22 -07:00