gpio: Document proper return value for gpio drivers
authorDouglas Anderson <dianders@chromium.org>
Wed, 29 Apr 2020 00:23:27 +0000 (17:23 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Apr 2020 12:15:25 +0000 (14:15 +0200)
commit36b5215436ad115551e12478ceb3be4a2279e415
tree9e46b3a25a5a1e29ab4a8869e3332412f48e9dba
parentdc5c1439376de8e107396ff5bdbc05af3b04ff0b
gpio: Document proper return value for gpio drivers

The legacy defines GPIOF_DIR_XXX are only for consumers. Document the
proper ones.  Also: don't use "_XXX" since that's harder to find with
"git grep".  Just list both of the values.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20200428172322.1.I396f351e364f3c09df7c7606e79abefb8682c092@changeid
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/gpio/driver.h