Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ef299d7 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Helgaas
Browse files

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: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent bc0195aa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -582,7 +582,6 @@ static int xgene_msi_probe(struct platform_device *pdev)
static struct platform_driver xgene_msi_driver = {
	.driver = {
		.name = "xgene-msi",
		.owner = THIS_MODULE,
		.of_match_table = xgene_msi_match_table,
	},
	.probe = xgene_msi_probe,