Commit 65c662ab authored by Wolfram Sang's avatar Wolfram Sang
Browse files

ata: 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 7ab6c54b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -103,7 +103,6 @@ static struct platform_driver ahci_da850_driver = {
	.remove = ata_platform_remove_one,
	.driver = {
		.name = "ahci_da850",
		.owner = THIS_MODULE,
		.pm = &ahci_da850_pm_ops,
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -679,7 +679,6 @@ static struct platform_driver imx_ahci_driver = {
	.remove = ata_platform_remove_one,
	.driver = {
		.name = "ahci-imx",
		.owner = THIS_MODULE,
		.of_match_table = imx_ahci_of_match,
		.pm = &ahci_imx_pm_ops,
	},
+0 −1
Original line number Diff line number Diff line
@@ -115,7 +115,6 @@ static struct platform_driver ahci_mvebu_driver = {
	.remove = ata_platform_remove_one,
	.driver = {
		.name = "ahci-mvebu",
		.owner = THIS_MODULE,
		.of_match_table = ahci_mvebu_of_match,
	},
};
+0 −1
Original line number Diff line number Diff line
@@ -76,7 +76,6 @@ static struct platform_driver ahci_driver = {
	.remove = ata_platform_remove_one,
	.driver = {
		.name = "ahci",
		.owner = THIS_MODULE,
		.of_match_table = ahci_of_match,
		.pm = &ahci_pm_ops,
	},
+0 −1
Original line number Diff line number Diff line
@@ -230,7 +230,6 @@ MODULE_DEVICE_TABLE(of, st_ahci_match);
static struct platform_driver st_ahci_driver = {
	.driver = {
		.name = "st_ahci",
		.owner = THIS_MODULE,
		.pm = &st_ahci_pm_ops,
		.of_match_table = of_match_ptr(st_ahci_match),
	},
Loading