提交 4ef299d7 编写于 作者: K Krzysztof Kozlowski 提交者: Bjorn Helgaas

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: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
上级 bc0195aa
...@@ -582,7 +582,6 @@ static int xgene_msi_probe(struct platform_device *pdev) ...@@ -582,7 +582,6 @@ static int xgene_msi_probe(struct platform_device *pdev)
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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册