Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8a3f52e authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

gpio: xlp: Add missing .owner and .label settings for gpio_chip

parent 5b7d414a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -366,6 +366,8 @@ static int xlp_gpio_probe(struct platform_device *pdev)

	gc = &priv->chip;

	gc->owner = THIS_MODULE;
	gc->label = dev_name(&pdev->dev);
	gc->base = 0;
	gc->dev = &pdev->dev;
	gc->ngpio = ngpio;