kernel/drivers/gpio/gpio-tpic2810.c
.. .. @@ -39,7 +39,7 @@ 39 39 unsigned offset) 40 40 { 41 41 /* This device always output */ 42 - return 0;42 + return GPIO_LINE_DIRECTION_OUT;43 43 } 44 44 45 45 static int tpic2810_direction_input(struct gpio_chip *chip,