tty: serial: 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:
@@ -623,7 +623,6 @@ static struct platform_driver altera_uart_platform_driver = {
|
||||
.remove = altera_uart_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(altera_uart_match),
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user