twl6040gpo_chip 66 drivers/gpio/gpio-twl6040.c static struct gpio_chip twl6040gpo_chip = { twl6040gpo_chip 84 drivers/gpio/gpio-twl6040.c twl6040gpo_chip.base = -1; twl6040gpo_chip 87 drivers/gpio/gpio-twl6040.c twl6040gpo_chip.ngpio = 3; /* twl6040 have 3 GPO */ twl6040gpo_chip 89 drivers/gpio/gpio-twl6040.c twl6040gpo_chip.ngpio = 1; /* twl6041 have 1 GPO */ twl6040gpo_chip 91 drivers/gpio/gpio-twl6040.c twl6040gpo_chip.parent = &pdev->dev; twl6040gpo_chip 93 drivers/gpio/gpio-twl6040.c twl6040gpo_chip.of_node = twl6040_core_dev->of_node; twl6040gpo_chip 96 drivers/gpio/gpio-twl6040.c ret = devm_gpiochip_add_data(&pdev->dev, &twl6040gpo_chip, NULL); twl6040gpo_chip 99 drivers/gpio/gpio-twl6040.c twl6040gpo_chip.ngpio = 0;