Documentation: gpio: legacy: Don't use POLLERR for poll(2)
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 15 Feb 2019 08:17:36 +0000 (09:17 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Feb 2019 09:53:52 +0000 (10:53 +0100)
commit9aac1e336c3ab3824f646224f4b2309b63c51668
treedc95e52cb2329c95d96a8eaefdbb34751076234d
parent2a9a2f27d35af6c44c2e38437c855f55390c3439
Documentation: gpio: legacy: Don't use POLLERR for poll(2)

According to the manpage of poll(2) and also looking at the respective
syscall providing POLLERR in .events is a no-op. So don't recommend
using it.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-api/gpio/legacy.rst