iio: light: apds9960: remove useless return

return 0 statement at the end of apds9960_read_event_config is useless.
Remove it.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Link: https://patch.msgid.link/20241031-iio-fix-write-event-config-signature-v2-15-2bcacbb517a2@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Julien Stephan
2024-10-31 16:27:10 +01:00
committed by Jonathan Cameron
parent 6921a89dc1
commit e44a4e6c21

View File

@@ -749,8 +749,6 @@ static int apds9960_read_event_config(struct iio_dev *indio_dev,
default:
return -EINVAL;
}
return 0;
}
static int apds9960_write_event_config(struct iio_dev *indio_dev,