diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:10 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:21:10 -0400 |
commit | b9deaa2a54d3b8bd229e428f0cd294ca2bcc6625 (patch) | |
tree | 3ec7c86240f65c8b13e63064416c40fca8ca5004 | |
parent | 8fc5fb43efb051297e579083c2f331e3e4a75f86 (diff) |
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.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/natsemi/macsonic.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/natsemi/jazzsonic.c b/drivers/net/ethernet/natsemi/jazzsonic.c index a5512a97cc4d..acf3f11e38cc 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 = { | |||
287 | .remove = jazz_sonic_device_remove, | 287 | .remove = jazz_sonic_device_remove, |
288 | .driver = { | 288 | .driver = { |
289 | .name = jazz_sonic_string, | 289 | .name = jazz_sonic_string, |
290 | .owner = THIS_MODULE, | ||
291 | }, | 290 | }, |
292 | }; | 291 | }; |
293 | 292 | ||
diff --git a/drivers/net/ethernet/natsemi/macsonic.c b/drivers/net/ethernet/natsemi/macsonic.c index 9e4ddbba7036..5b2dcb03c29e 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 = { | |||
634 | .remove = mac_sonic_device_remove, | 634 | .remove = mac_sonic_device_remove, |
635 | .driver = { | 635 | .driver = { |
636 | .name = mac_sonic_string, | 636 | .name = mac_sonic_string, |
637 | .owner = THIS_MODULE, | ||
638 | }, | 637 | }, |
639 | }; | 638 | }; |
640 | 639 | ||