net: ethernet: stmicro: stmmac: drop owner assignment from platform_drivers
This 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> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f3ba9d490d
commit
f620e4fe16
|
@ -430,7 +430,6 @@ static struct platform_driver stmmac_pltfr_driver = {
|
||||||
.remove = stmmac_pltfr_remove,
|
.remove = stmmac_pltfr_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = STMMAC_RESOURCE_NAME,
|
.name = STMMAC_RESOURCE_NAME,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &stmmac_pltfr_pm_ops,
|
.pm = &stmmac_pltfr_pm_ops,
|
||||||
.of_match_table = of_match_ptr(stmmac_dt_ids),
|
.of_match_table = of_match_ptr(stmmac_dt_ids),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue