gpio: merrifield: Don't use GPIOF_DIR_IN / GPIOF_DIR_OUT
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Mar 2017 12:56:32 +0000 (14:56 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Mar 2017 13:06:46 +0000 (14:06 +0100)
commit7477e137dcfdf259123815d0e0b02738840ea71e
treea3c9a2e527a8ec32fade345bd3347c6b82d90696
parent4a56e413b50c11df35e6c6909312ce7418848b37
gpio: merrifield: Don't use GPIOF_DIR_IN / GPIOF_DIR_OUT

The mentioned flags are dedicated solely for consumer API.
Replace them by explicit values.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[Made a !bang clamp to (0,1) instead of infix ? operator]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-merrifield.c