summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:10 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:10 +0200
commitb9deaa2a54d3b8bd229e428f0cd294ca2bcc6625 (patch)
tree3ec7c86240f65c8b13e63064416c40fca8ca5004
parent8fc5fb43efb051297e579083c2f331e3e4a75f86 (diff)
downloadop-kernel-dev-b9deaa2a54d3b8bd229e428f0cd294ca2bcc6625.zip
op-kernel-dev-b9deaa2a54d3b8bd229e428f0cd294ca2bcc6625.tar.gz
net: ethernet: natsemi: 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/natsemi/jazzsonic.c1
-rw-r--r--drivers/net/ethernet/natsemi/macsonic.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/natsemi/jazzsonic.c b/drivers/net/ethernet/natsemi/jazzsonic.c
index a5512a9..acf3f11 100644
--- a/drivers/net/ethernet/natsemi/jazzsonic.c
+++ b/drivers/net/ethernet/natsemi/jazzsonic.c
@@ -287,7 +287,6 @@ static struct platform_driver jazz_sonic_driver = {
.remove = jazz_sonic_device_remove,
.driver = {
.name = jazz_sonic_string,
- .owner = THIS_MODULE,
},
};
diff --git a/drivers/net/ethernet/natsemi/macsonic.c b/drivers/net/ethernet/natsemi/macsonic.c
index 9e4ddbb..5b2dcb0 100644
--- a/drivers/net/ethernet/natsemi/macsonic.c
+++ b/drivers/net/ethernet/natsemi/macsonic.c
@@ -634,7 +634,6 @@ static struct platform_driver mac_sonic_driver = {
.remove = mac_sonic_device_remove,
.driver = {
.name = mac_sonic_string,
- .owner = THIS_MODULE,
},
};
OpenPOWER on IntegriCloud