net: can: sja1000: 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
0a6e54be42
commit
ac52841ce7
|
@ -259,7 +259,6 @@ static struct platform_driver sja1000_isa_driver = {
|
|||
.remove = sja1000_isa_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -253,7 +253,6 @@ static struct platform_driver sp_driver = {
|
|||
.remove = sp_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = sp_of_table,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue