gpio: f7188x: fix edit mistake

Fix a typo causing a build regression.

Fixes: f90c6bdb69 ("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>
This commit is contained in:
Linus Walleij 2016-04-18 13:30:29 +02:00
parent c686090f14
commit 327819d1e5
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ static int f7188x_gpio_set_single_ended(struct gpio_chip *chip,
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;