diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:03 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:03 -0400 |
commit | 5a21758d26e027b03efde2c4fbabdd3ae17fa6d1 (patch) | |
tree | 0f6f5c053e9c3b7cb643dc61b0313c9bc5a8a2a0 | |
parent | 078d665616ece61c2bfb55a67d2ea758888f8bae (diff) |
net: ethernet: adi: 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: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | drivers/net/ethernet/adi/bfin_mac.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c index 8ed4d3408ef6..ec20611e9de2 100644 --- a/drivers/net/ethernet/adi/bfin_mac.c +++ b/drivers/net/ethernet/adi/bfin_mac.c | |||
@@ -1901,7 +1901,6 @@ static struct platform_driver bfin_mii_bus_driver = { | |||
1901 | .remove = bfin_mii_bus_remove, | 1901 | .remove = bfin_mii_bus_remove, |
1902 | .driver = { | 1902 | .driver = { |
1903 | .name = "bfin_mii_bus", | 1903 | .name = "bfin_mii_bus", |
1904 | .owner = THIS_MODULE, | ||
1905 | }, | 1904 | }, |
1906 | }; | 1905 | }; |
1907 | 1906 | ||
@@ -1912,7 +1911,6 @@ static struct platform_driver bfin_mac_driver = { | |||
1912 | .suspend = bfin_mac_suspend, | 1911 | .suspend = bfin_mac_suspend, |
1913 | .driver = { | 1912 | .driver = { |
1914 | .name = KBUILD_MODNAME, | 1913 | .name = KBUILD_MODNAME, |
1915 | .owner = THIS_MODULE, | ||
1916 | }, | 1914 | }, |
1917 | }; | 1915 | }; |
1918 | 1916 | ||