diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 08:29:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-11 08:18:29 +0200 |
commit | 6979b9cf58c86d14ceb1702b5b3fa4f63c98c013 (patch) | |
tree | fc804810f6d8d4e2446901962dd7159e0966f12b /drivers/net/ethernet/hisilicon | |
parent | net: phy: Support setting polarity in marvell phy driver (diff) | |
download | linux-6979b9cf58c86d14ceb1702b5b3fa4f63c98c013.tar.xz linux-6979b9cf58c86d14ceb1702b5b3fa4f63c98c013.zip |
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: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hip04_eth.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/hisilicon/hip04_mdio.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/hisilicon/hip04_eth.c b/drivers/net/ethernet/hisilicon/hip04_eth.c index d49bee38cd31..cc2d8b4b18e3 100644 --- a/drivers/net/ethernet/hisilicon/hip04_eth.c +++ b/drivers/net/ethernet/hisilicon/hip04_eth.c @@ -965,7 +965,6 @@ static struct platform_driver hip04_mac_driver = { .remove = hip04_remove, .driver = { .name = DRV_NAME, - .owner = THIS_MODULE, .of_match_table = hip04_mac_match, }, }; diff --git a/drivers/net/ethernet/hisilicon/hip04_mdio.c b/drivers/net/ethernet/hisilicon/hip04_mdio.c index b3bac25db99c..fca0a5be1f0f 100644 --- a/drivers/net/ethernet/hisilicon/hip04_mdio.c +++ b/drivers/net/ethernet/hisilicon/hip04_mdio.c @@ -174,7 +174,6 @@ static struct platform_driver hip04_mdio_driver = { .remove = hip04_mdio_remove, .driver = { .name = "hip04-mdio", - .owner = THIS_MODULE, .of_match_table = hip04_mdio_match, }, }; |