mirror of https://gitee.com/openkylin/linux.git
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,
|
||||
.driver = {
|
||||
.name = jazz_sonic_string,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -634,7 +634,6 @@ static struct platform_driver mac_sonic_driver = {
|
|||
.remove = mac_sonic_device_remove,
|
||||
.driver = {
|
||||
.name = mac_sonic_string,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue