mirror of https://gitee.com/openkylin/linux.git
net: ethernet: altera: 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
07646c9379
commit
0c026c179e
drivers/net/ethernet/altera
|
@ -1587,7 +1587,6 @@ static struct platform_driver altera_tse_driver = {
|
|||
.resume = NULL,
|
||||
.driver = {
|
||||
.name = ALTERA_TSE_RESOURCE_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = altera_tse_ids,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue