aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tps65086.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-tps65086.c')
-rw-r--r--drivers/gpio/gpio-tps65086.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tps65086.c b/drivers/gpio/gpio-tps65086.c
index 2eea98ff4ea3..1e9d8262d0ff 100644
--- a/drivers/gpio/gpio-tps65086.c
+++ b/drivers/gpio/gpio-tps65086.c
@@ -21,7 +21,7 @@ static int tps65086_gpio_get_direction(struct gpio_chip *chip,
unsigned offset)
{
/* This device is output only */
- return 0;
+ return GPIO_LINE_DIRECTION_OUT;
}
static int tps65086_gpio_direction_input(struct gpio_chip *chip,