gpio: f7188x: fix edit mistake
Fix a typo causing a build regression.
Fixes: f90c6bdb690b ("gpio: f7188x: use the new open drain callback")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
diff --git a/drivers/gpio/gpio-f7188x.c b/drivers/gpio/gpio-f7188x.c
index 58674ff..05aa538 100644
--- a/drivers/gpio/gpio-f7188x.c
+++ b/drivers/gpio/gpio-f7188x.c
@@ -328,7 +328,7 @@
data &= ~BIT(offset);
else
data |= BIT(offset);
- superio_outb(sio->addr, gpio_data_mode(bank->regbase), data);
+ superio_outb(sio->addr, gpio_out_mode(bank->regbase), data);
superio_exit(sio->addr);
return 0;