mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
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
2 changed files with 0 additions and 2 deletions
|
@ -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 a new issue