瀏覽代碼

amba: drop owner assignment from platform_drivers

A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Wolfram Sang 10 年之前
父節點
當前提交
7ab6c54b5d
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/amba/tegra-ahb.c

+ 0 - 1
drivers/amba/tegra-ahb.c

@@ -277,7 +277,6 @@ static struct platform_driver tegra_ahb_driver = {
 	.probe = tegra_ahb_probe,
 	.driver = {
 		.name = DRV_NAME,
-		.owner = THIS_MODULE,
 		.of_match_table = tegra_ahb_of_match,
 		.pm = &tegra_ahb_pm,
 	},