mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
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:
parent
6921a89dc1
commit
e44a4e6c21
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user