kernel/drivers/gpio/gpio-lp873x.c
.. .. @@ -33,7 +33,7 @@ 33 33 unsigned int offset) 34 34 { 35 35 /* This device is output only */ 36 - return 0;36 + return GPIO_LINE_DIRECTION_OUT;37 37 } 38 38 39 39 static int lp873x_gpio_direction_input(struct gpio_chip *chip,