doc: improve the description of gpiod_line_event_read()
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 28 Apr 2020 11:24:19 +0000 (13:24 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 28 Apr 2020 11:54:09 +0000 (13:54 +0200)
commit5f6d42a56dfcfb087e907b5206f9829dc955e758
tree697365546833784959d08ca3b0d4b289548fea58
parentad30521454f87fe2e5462f859003b92f5b97d6f3
doc: improve the description of gpiod_line_event_read()

The description of gpiod_line_event_read() states that it reads the last
event that occurred for this line. This is not true: the kernel stores
the events in a FIFO and this function reads the next event from it.

Fix the confusing statement.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
include/gpiod.h