diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-12-08 10:41:44 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-01-05 11:21:20 +0100 |
commit | 4eab22e748b550045b8a98be3b72f31e22557605 (patch) | |
tree | d694e8f9a0c768a8949387d98fa47d16bcb08181 /drivers/gpio/gpio-xtensa.c | |
parent | gpio: zynq: use gpiochip data pointer (diff) | |
download | linux-4eab22e748b550045b8a98be3b72f31e22557605.tar.xz linux-4eab22e748b550045b8a98be3b72f31e22557605.zip |
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-xtensa.c')
-rw-r--r-- | drivers/gpio/gpio-xtensa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-xtensa.c b/drivers/gpio/gpio-xtensa.c index 93ec95df67a3..f16c0427952e 100644 --- a/drivers/gpio/gpio-xtensa.c +++ b/drivers/gpio/gpio-xtensa.c @@ -148,10 +148,10 @@ static int xtensa_gpio_probe(struct platform_device *pdev) { int ret; - ret = gpiochip_add(&impwire_chip); + ret = gpiochip_add_data(&impwire_chip, NULL); if (ret) return ret; - return gpiochip_add(&expstate_chip); + return gpiochip_add_data(&expstate_chip, NULL); } static struct platform_driver xtensa_gpio_driver = { |