mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
input: mouse: 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
776bd315a7
commit
128562fb2a
@ -141,7 +141,6 @@ static struct platform_driver amimouse_driver = {
|
||||
.remove = __exit_p(amimouse_remove),
|
||||
.driver = {
|
||||
.name = "amiga-mouse",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -171,7 +171,6 @@ static struct platform_driver gpio_mouse_device_driver = {
|
||||
.remove = gpio_mouse_remove,
|
||||
.driver = {
|
||||
.name = "gpio_mouse",
|
||||
.owner = THIS_MODULE,
|
||||
}
|
||||
};
|
||||
module_platform_driver(gpio_mouse_device_driver);
|
||||
|
@ -355,7 +355,6 @@ static struct platform_driver navpoint_driver = {
|
||||
.remove = navpoint_remove,
|
||||
.driver = {
|
||||
.name = "navpoint",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &navpoint_pm_ops,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user