summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-twl6040.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-12-08 10:41:44 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-01-05 11:21:20 +0100
commit4eab22e748b550045b8a98be3b72f31e22557605 (patch)
treed694e8f9a0c768a8949387d98fa47d16bcb08181 /drivers/gpio/gpio-twl6040.c
parent31a8944752f8a91d8591148f60cd6dfb08c4e415 (diff)
downloadop-kernel-dev-4eab22e748b550045b8a98be3b72f31e22557605.zip
op-kernel-dev-4eab22e748b550045b8a98be3b72f31e22557605.tar.gz
gpio: convert remaining users to gpiochip_add_data()
For completion, sweep the floor from all gpiochip_add() usage so we can remove that function and get rid of the function wrapper gpiochip_add(). Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-twl6040.c')
-rw-r--r--drivers/gpio/gpio-twl6040.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-twl6040.c b/drivers/gpio/gpio-twl6040.c
index 2da7c5f..8e9e985 100644
--- a/drivers/gpio/gpio-twl6040.c
+++ b/drivers/gpio/gpio-twl6040.c
@@ -100,7 +100,7 @@ static int gpo_twl6040_probe(struct platform_device *pdev)
twl6040gpo_chip.of_node = twl6040_core_dev->of_node;
#endif
- ret = gpiochip_add(&twl6040gpo_chip);
+ ret = gpiochip_add_data(&twl6040gpo_chip, NULL);
if (ret < 0) {
dev_err(&pdev->dev, "could not register gpiochip, %d\n", ret);
twl6040gpo_chip.ngpio = 0;
OpenPOWER on IntegriCloud