Commit 6979b9cf authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by David S. Miller

net: Drop owner assignment from platform_driver

platform_driver does not need to set an owner because
platform_driver_register() will set it.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 239aa55b
...@@ -965,7 +965,6 @@ static struct platform_driver hip04_mac_driver = { ...@@ -965,7 +965,6 @@ static struct platform_driver hip04_mac_driver = {
.remove = hip04_remove, .remove = hip04_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = hip04_mac_match, .of_match_table = hip04_mac_match,
}, },
}; };
......
...@@ -174,7 +174,6 @@ static struct platform_driver hip04_mdio_driver = { ...@@ -174,7 +174,6 @@ static struct platform_driver hip04_mdio_driver = {
.remove = hip04_mdio_remove, .remove = hip04_mdio_remove,
.driver = { .driver = {
.name = "hip04-mdio", .name = "hip04-mdio",
.owner = THIS_MODULE,
.of_match_table = hip04_mdio_match, .of_match_table = hip04_mdio_match,
}, },
}; };
......
...@@ -2142,7 +2142,6 @@ MODULE_DEVICE_TABLE(of, of_match); ...@@ -2142,7 +2142,6 @@ MODULE_DEVICE_TABLE(of, of_match);
static struct platform_driver netcp_driver = { static struct platform_driver netcp_driver = {
.driver = { .driver = {
.name = "netcp-1.0", .name = "netcp-1.0",
.owner = THIS_MODULE,
.of_match_table = of_match, .of_match_table = of_match,
}, },
.probe = netcp_probe, .probe = netcp_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment