mirror of https://gitee.com/openkylin/linux.git
net: ethernet: sun: 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>
This commit is contained in:
parent
6577f97d47
commit
3a6e44c57a
|
@ -10185,7 +10185,6 @@ MODULE_DEVICE_TABLE(of, niu_match);
|
||||||
static struct platform_driver niu_of_driver = {
|
static struct platform_driver niu_of_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "niu",
|
.name = "niu",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = niu_match,
|
.of_match_table = niu_match,
|
||||||
},
|
},
|
||||||
.probe = niu_of_probe,
|
.probe = niu_of_probe,
|
||||||
|
|
|
@ -1273,7 +1273,6 @@ MODULE_DEVICE_TABLE(of, bigmac_sbus_match);
|
||||||
static struct platform_driver bigmac_sbus_driver = {
|
static struct platform_driver bigmac_sbus_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sunbmac",
|
.name = "sunbmac",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = bigmac_sbus_match,
|
.of_match_table = bigmac_sbus_match,
|
||||||
},
|
},
|
||||||
.probe = bigmac_sbus_probe,
|
.probe = bigmac_sbus_probe,
|
||||||
|
|
|
@ -3271,7 +3271,6 @@ MODULE_DEVICE_TABLE(of, hme_sbus_match);
|
||||||
static struct platform_driver hme_sbus_driver = {
|
static struct platform_driver hme_sbus_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "hme",
|
.name = "hme",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = hme_sbus_match,
|
.of_match_table = hme_sbus_match,
|
||||||
},
|
},
|
||||||
.probe = hme_sbus_probe,
|
.probe = hme_sbus_probe,
|
||||||
|
|
|
@ -963,7 +963,6 @@ MODULE_DEVICE_TABLE(of, qec_sbus_match);
|
||||||
static struct platform_driver qec_sbus_driver = {
|
static struct platform_driver qec_sbus_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "qec",
|
.name = "qec",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = qec_sbus_match,
|
.of_match_table = qec_sbus_match,
|
||||||
},
|
},
|
||||||
.probe = qec_sbus_probe,
|
.probe = qec_sbus_probe,
|
||||||
|
|
Loading…
Reference in New Issue