mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 20:23:57 +08:00
staging: media: lirc: 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
95f87b9283
commit
305f3de8d1
@ -605,7 +605,6 @@ static struct platform_driver lirc_parallel_driver = {
|
||||
.resume = lirc_parallel_resume,
|
||||
.driver = {
|
||||
.name = LIRC_DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1060,7 +1060,6 @@ static struct platform_driver lirc_serial_driver = {
|
||||
.resume = lirc_serial_resume,
|
||||
.driver = {
|
||||
.name = "lirc_serial",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -931,7 +931,6 @@ static struct platform_driver lirc_sir_driver = {
|
||||
.remove = lirc_sir_remove,
|
||||
.driver = {
|
||||
.name = "lirc_sir",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user