mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
net: can: mscan: 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
3865fe2619
commit
0a6e54be42
@ -441,7 +441,6 @@ MODULE_DEVICE_TABLE(of, mpc5xxx_can_table);
|
|||||||
static struct platform_driver mpc5xxx_can_driver = {
|
static struct platform_driver mpc5xxx_can_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "mpc5xxx_can",
|
.name = "mpc5xxx_can",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = mpc5xxx_can_table,
|
.of_match_table = mpc5xxx_can_table,
|
||||||
},
|
},
|
||||||
.probe = mpc5xxx_can_probe,
|
.probe = mpc5xxx_can_probe,
|
||||||
|
Loading…
Reference in New Issue
Block a user