View | Details | Raw Unified | Return to bug 150881 | Differences between
and this patch

Collapse All | Expand All

(-)a/drivers/gpio/gpiolib.c (-2 lines)
Lines 2057-2063 int gpiod_direction_input(struct gpio_desc *desc) Link Here
2057
	struct gpio_chip	*chip;
2057
	struct gpio_chip	*chip;
2058
	int			status = -EINVAL;
2058
	int			status = -EINVAL;
2059
2059
2060
	VALIDATE_DESC(desc);
2061
	chip = desc->gdev->chip;
2060
	chip = desc->gdev->chip;
2062
2061
2063
	if (!chip->get || !chip->direction_input) {
2062
	if (!chip->get || !chip->direction_input) {
2064
- 

Return to bug 150881