aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-f7188x.c
diff options
context:
space:
mode:
authorMatti Vaittinen <[email protected]>2019-11-06 08:51:47 +0000
committerLinus Walleij <[email protected]>2019-11-07 08:19:39 +0000
commit9208b1e77d6e8e9776f34f46ef4079ecac9c3c25 (patch)
treeb7709295d8d0bdbfce5435dfed75cd345dc584f8 /drivers/gpio/gpio-f7188x.c
parentgpio: xgs-iproc: Fix section mismatch on device tree match table (diff)
downloadkernel-9208b1e77d6e8e9776f34f46ef4079ecac9c3c25.tar.gz
kernel-9208b1e77d6e8e9776f34f46ef4079ecac9c3c25.zip
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-f7188x.c')
0 files changed, 0 insertions, 0 deletions