commit | 9208b1e77d6e8e9776f34f46ef4079ecac9c3c25 | [log] [tgz] |
---|---|---|
author | Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> | Wed Nov 06 10:51:47 2019 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Nov 07 09:19:39 2019 +0100 |
tree | b7709295d8d0bdbfce5435dfed75cd345dc584f8 | |
parent | 5d682fa3d8943c19a632ebeaf70e8b9e41c78a5b [diff] |
gpio: Add definition for GPIO direction At least for me it is difficult to remember the meaning of GPIO direction values. Define GPIO_LINE_DIRECTION_IN and GPIO_LINE_DIRECTION_OUT so that occasional GPIO contributors would not need to always check the meaning of hard coded values 1 and 0. Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>