Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Axel Lin and committed by
Linus Walleij
b8a3f52e 5b7d414a

+2
+2
drivers/gpio/gpio-xlp.c
··· 366 366 367 367 gc = &priv->chip; 368 368 369 + gc->owner = THIS_MODULE; 370 + gc->label = dev_name(&pdev->dev); 369 371 gc->base = 0; 370 372 gc->dev = &pdev->dev; 371 373 gc->ngpio = ngpio;