Skip to content
Commit 9208b1e7 authored by Matti Vaittinen's avatar Matti Vaittinen Committed by Linus Walleij
Browse files

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: default avatarMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5d682fa3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment