Skip to content

Commit e44a4e6

Browse files
justephjic23
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/20241031-iio-fix-write-event-config-signature-v2-15-2bcacbb517a2@baylibre.com Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 6921a89 commit e44a4e6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/iio/light/apds9960.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,8 +749,6 @@ static int apds9960_read_event_config(struct iio_dev *indio_dev,
749749
default:
750750
return -EINVAL;
751751
}
752-
753-
return 0;
754752
}
755753

756754
static int apds9960_write_event_config(struct iio_dev *indio_dev,

0 commit comments

Comments
 (0)