Searched hist:"9208 b1e7" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/linux/gpio/ |
H A D | driver.h | 9208b1e7 Wed Nov 06 02:51:47 CST 2019 Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 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> 9208b1e7 Wed Nov 06 02:51:47 CST 2019 Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 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>
|