浏览代码

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 年之前
父节点
当前提交
4878b46679
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/gpio/gpio-arizona.c

+ 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,
 };
 };