Эх сурвалжийг харах

gpio: arizona: drop owner assignment from platform_drivers

This driver no need to set the owner field, it will be populated
by driver core.

Signed-off-by: Varka Bhadram <varkab@cdac.in>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Varka Bhadram 10 жил өмнө
parent
commit
4878b46679

+ 0 - 1
drivers/gpio/gpio-arizona.c

@@ -155,7 +155,6 @@ static int arizona_gpio_remove(struct platform_device *pdev)
 
 
 static struct platform_driver arizona_gpio_driver = {
 static struct platform_driver arizona_gpio_driver = {
 	.driver.name	= "arizona-gpio",
 	.driver.name	= "arizona-gpio",
-	.driver.owner	= THIS_MODULE,
 	.probe		= arizona_gpio_probe,
 	.probe		= arizona_gpio_probe,
 	.remove		= arizona_gpio_remove,
 	.remove		= arizona_gpio_remove,
 };
 };