gpio: uapi: improve description of fd fields
authorKent Gibson <warthog618@gmail.com>
Tue, 9 Jan 2024 14:02:17 +0000 (22:02 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 22 Jan 2024 08:51:02 +0000 (09:51 +0100)
commit7889968e64754149f9c84a6ebcafee7db856d8dc
tree1f2a708adaea2f25a35e1317d01249e11590fa41
parentf4028860a998f8a64c4e8c162a8091f7214502cf
gpio: uapi: improve description of fd fields

Only a successful operation modifies fd fields, but the current
documentation wording could be taken to imply that a positive fd
value after an ioctl() returns indicates a success.

Reword documentation to clarify that the fd is only valid after a
successful operation.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
include/uapi/linux/gpio.h