mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
gpio: tps65912: fix bad merge
I screwed up while merging the immutable branch for TPS65912, so fixing it unbroken again. Cc: Lee Jones <[email protected]> Cc: Andrew F. Davis <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
70aba44b6c
commit
9d93efe35e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue