浏览代码

PCI: xgene: Drop owner assignment from platform_driver

platform_driver_register() automatically supplies THIS_MODULE, so we don't
need to set it in the platform_driver struct.

Remove the xgene_msi_driver.owner assignment.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Krzysztof Kozlowski 10 年之前
父节点
当前提交
4ef299d7dd
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/pci/host/pci-xgene-msi.c

+ 0 - 1
drivers/pci/host/pci-xgene-msi.c

@@ -582,7 +582,6 @@ error:
 static struct platform_driver xgene_msi_driver = {
 static struct platform_driver xgene_msi_driver = {
 	.driver = {
 	.driver = {
 		.name = "xgene-msi",
 		.name = "xgene-msi",
-		.owner = THIS_MODULE,
 		.of_match_table = xgene_msi_match_table,
 		.of_match_table = xgene_msi_match_table,
 	},
 	},
 	.probe = xgene_msi_probe,
 	.probe = xgene_msi_probe,