tty: 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
4b6d6c6785
commit
c910367fed
@ -1802,7 +1802,6 @@ static struct platform_driver amiga_serial_driver = {
|
|||||||
.remove = __exit_p(amiga_serial_remove),
|
.remove = __exit_p(amiga_serial_remove),
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "amiga-serial",
|
.name = "amiga-serial",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -740,7 +740,6 @@ static const struct of_device_id ehv_bc_tty_of_ids[] = {
|
|||||||
|
|
||||||
static struct platform_driver ehv_bc_tty_driver = {
|
static struct platform_driver ehv_bc_tty_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.name = "ehv-bc",
|
.name = "ehv-bc",
|
||||||
.of_match_table = ehv_bc_tty_of_ids,
|
.of_match_table = ehv_bc_tty_of_ids,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user