From: Axel Lin Date: Thu, 7 May 2015 07:34:37 +0000 (+0800) Subject: gpio: xlp: Add missing .owner and .label settings for gpio_chip X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b8a3f52e9824841fb1a79de649fc3487f734bc9f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git gpio: xlp: Add missing .owner and .label settings for gpio_chip Signed-off-by: Axel Lin Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-xlp.c b/drivers/gpio/gpio-xlp.c index 8532697768f6..9bdab7203d65 100644 --- a/drivers/gpio/gpio-xlp.c +++ b/drivers/gpio/gpio-xlp.c @@ -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;