mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-20 03:24:03 +08:00
net: ethernet: natsemi: 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
8fc5fb43ef
commit
b9deaa2a54
@ -287,7 +287,6 @@ static struct platform_driver jazz_sonic_driver = {
|
|||||||
.remove = jazz_sonic_device_remove,
|
.remove = jazz_sonic_device_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = jazz_sonic_string,
|
.name = jazz_sonic_string,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -634,7 +634,6 @@ static struct platform_driver mac_sonic_driver = {
|
|||||||
.remove = mac_sonic_device_remove,
|
.remove = mac_sonic_device_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = mac_sonic_string,
|
.name = mac_sonic_string,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user