diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-07-27 17:47:01 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-07-30 01:06:33 +0300 |
commit | 0969a204bfdaf7470d2666736b90a8595ae671e9 (patch) | |
tree | eb0a4e4329e97ffd0ad8912df0fd766c0ce59e9b /drivers/gpio/gpio-it87.c | |
parent | 0b07609ccd48a23103881a161e49eb7a282170e7 (diff) | |
download | linux-0969a204bfdaf7470d2666736b90a8595ae671e9.tar.xz |
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>
Diffstat (limited to 'drivers/gpio/gpio-it87.c')
0 files changed, 0 insertions, 0 deletions