From: Linus Walleij Date: Wed, 9 Mar 2016 15:02:52 +0000 (+0700) Subject: gpio: tps65912: fix bad merge X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d93efe35ed011327999675d70bb1b12ccdbd62d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git gpio: tps65912: fix bad merge I screwed up while merging the immutable branch for TPS65912, so fixing it unbroken again. Cc: Lee Jones Cc: Andrew F. Davis Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c index e7886e712dc7..acfd30a13a56 100644 --- a/drivers/gpio/gpio-tps65912.c +++ b/drivers/gpio/gpio-tps65912.c @@ -117,8 +117,8 @@ static int tps65912_gpio_probe(struct platform_device *pdev) gpio->gpio_chip = template_chip; gpio->gpio_chip.parent = tps->dev; - ret = devm_gpiochip_add_data(&pdev->dev, &tps65912_gpio->gpio_chip, - tps65912_gpio); + ret = devm_gpiochip_add_data(&pdev->dev, &gpio->gpio_chip, + gpio); if (ret < 0) { dev_err(&pdev->dev, "Could not register gpiochip, %d\n", ret); return ret;