]> git.baikalelectronics.ru Git - kernel.git/commit
iio:adc:ti-ads8688:: remove redundant ret variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Wed, 15 Dec 2021 06:07:10 +0000 (06:07 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 16 Dec 2021 12:32:04 +0000 (12:32 +0000)
commitcb50c9ace5020cf19a25da436d45683e7022ea51
treefb76d5184ab7dda6368be3c8ae95f6b26e369976
parent955712f260a0010f174103b497e496718fa528cb
iio:adc:ti-ads8688:: remove redundant ret variable

Return value from ads8688_prog_write() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ti-ads8688.c