gpio: uapi: clarify using v2 rather than v1
authorKent Gibson <warthog618@gmail.com>
Tue, 9 Jan 2024 14:02:21 +0000 (22:02 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 22 Jan 2024 08:53:12 +0000 (09:53 +0100)
commitb6747ef69fa44717f7ee6bbf012324bfdbdb5aa4
tree4f40a3a2fbabf38ffa18d6f186301c661149244e
parentead7c5817cff33aff2762b43caec6bc5b8dfff9a
gpio: uapi: clarify using v2 rather than v1

The documentation contains notes like
 This struct is part of ABI v1 and is deprecated.
 Use struct gpio_v2_line_info instead.

This could be interpreted to mean the structs can be directly
substituted in v1 calls.  Clarify that the user should use the
corresponding v2 ioctl() and structs.

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