diff options
author | Dan Carpenter <[email protected]> | 2024-01-08 12:07:02 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-01-22 18:59:07 +0000 |
commit | 9c46e3a5232d855a65f440b298a2a66497f799d2 (patch) | |
tree | 272f1225395f47690d032ac5a8334e58110b97ce /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 59598510be1d49e1cff7fd7593293bb8e1b2398b (diff) |
iio: adc: ad7091r8: Fix error code in ad7091r8_gpio_setup()
There is a copy and paste error so it accidentally returns ->convst_gpio
instead of ->reset_gpio. Fix it.
Fixes: 0b76ff46c463 ("iio: adc: Add support for AD7091R-8")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Marcelo Schmitt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions