diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:07 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:21:07 +0200 |
commit | d6cc5c262205e1295b7d7f04f11957b206fec636 (patch) | |
tree | b420fb88ec5c66225116cba33ddec57fa657c49d /drivers/net/ethernet/faraday | |
parent | 46c68a571703f18b41c28d7305486d9c763cba9b (diff) | |
download | op-kernel-dev-d6cc5c262205e1295b7d7f04f11957b206fec636.zip op-kernel-dev-d6cc5c262205e1295b7d7f04f11957b206fec636.tar.gz |
net: ethernet: faraday: 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>
Diffstat (limited to 'drivers/net/ethernet/faraday')
-rw-r--r-- | drivers/net/ethernet/faraday/ftgmac100.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/faraday/ftmac100.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index c77fa4a..6d0c5d5 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c @@ -1335,7 +1335,6 @@ static struct platform_driver ftgmac100_driver = { .remove = __exit_p(ftgmac100_remove), .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, }, }; diff --git a/drivers/net/ethernet/faraday/ftmac100.c b/drivers/net/ethernet/faraday/ftmac100.c index 4ff1adc..dce5f7b 100644 --- a/drivers/net/ethernet/faraday/ftmac100.c +++ b/drivers/net/ethernet/faraday/ftmac100.c @@ -1177,7 +1177,6 @@ static struct platform_driver ftmac100_driver = { .remove = __exit_p(ftmac100_remove), .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, }, }; |