diff options
author | Dan Carpenter <[email protected]> | 2023-03-29 07:35:32 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-04-01 15:50:11 +0100 |
commit | 73a428b37b9b538f8f8fe61caa45e7f243bab87c (patch) | |
tree | c9fc7202ba48f036898126e9af5a35de2db8282c /net/unix/af_unix.c | |
parent | 4bffd2c7a3fc165fc70bc69211b8e6436f41a5c3 (diff) |
iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
The at91_adc_allocate_trigger() function is supposed to return error
pointers. Returning a NULL will cause an Oops.
Fixes: 5e1a1da0f8c9 ("iio: adc: at91-sama5d2_adc: add hw trigger and buffer support")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions