gpiolib: Use GPIOD_OUT_{LOW,HIGH} macros in open drain ones
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 27 Jul 2018 14:47:01 +0000 (17:47 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 29 Jul 2018 22:06:33 +0000 (00:06 +0200)
commit0969a204bfdaf7470d2666736b90a8595ae671e9
treeeb0a4e4329e97ffd0ad8912df0fd766c0ce59e9b
parent0b07609ccd48a23103881a161e49eb7a282170e7
gpiolib: Use GPIOD_OUT_{LOW,HIGH} macros in open drain ones

There should not be anything more than stated by the name of newly
introduced constants, i.e.
GPIOD_OUT_LOW_OPEN_DRAIN == GPIOD_OUT_LOW + open drain
and nothing more.

Make it better to read and slightly more robust by using GPIOD_OUT_LOW
and GPIOD_OUT_HIGH constants with open drain flag.

No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/gpio/consumer.h