Commit 947a0687 authored by Wolfram Sang's avatar Wolfram Sang

input: serio: 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent 128562fb
...@@ -189,7 +189,6 @@ static struct platform_driver altera_ps2_driver = { ...@@ -189,7 +189,6 @@ static struct platform_driver altera_ps2_driver = {
.remove = altera_ps2_remove, .remove = altera_ps2_remove,
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(altera_ps2_match), .of_match_table = of_match_ptr(altera_ps2_match),
}, },
}; };
......
...@@ -214,7 +214,6 @@ MODULE_DEVICE_TABLE(of, apbps2_of_match); ...@@ -214,7 +214,6 @@ MODULE_DEVICE_TABLE(of, apbps2_of_match);
static struct platform_driver apbps2_of_driver = { static struct platform_driver apbps2_of_driver = {
.driver = { .driver = {
.name = "grlib-apbps2", .name = "grlib-apbps2",
.owner = THIS_MODULE,
.of_match_table = apbps2_of_match, .of_match_table = apbps2_of_match,
}, },
.probe = apbps2_of_probe, .probe = apbps2_of_probe,
......
...@@ -266,7 +266,6 @@ MODULE_DEVICE_TABLE(of, arc_ps2_match); ...@@ -266,7 +266,6 @@ MODULE_DEVICE_TABLE(of, arc_ps2_match);
static struct platform_driver arc_ps2_driver = { static struct platform_driver arc_ps2_driver = {
.driver = { .driver = {
.name = "arc_ps2", .name = "arc_ps2",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(arc_ps2_match), .of_match_table = of_match_ptr(arc_ps2_match),
}, },
.probe = arc_ps2_probe, .probe = arc_ps2_probe,
......
...@@ -352,7 +352,6 @@ static struct platform_driver psif_driver = { ...@@ -352,7 +352,6 @@ static struct platform_driver psif_driver = {
.remove = __exit_p(psif_remove), .remove = __exit_p(psif_remove),
.driver = { .driver = {
.name = "atmel_psif", .name = "atmel_psif",
.owner = THIS_MODULE,
.pm = &psif_pm_ops, .pm = &psif_pm_ops,
}, },
}; };
......
...@@ -209,7 +209,6 @@ static int ct82c710_remove(struct platform_device *dev) ...@@ -209,7 +209,6 @@ static int ct82c710_remove(struct platform_device *dev)
static struct platform_driver ct82c710_driver = { static struct platform_driver ct82c710_driver = {
.driver = { .driver = {
.name = "ct82c710", .name = "ct82c710",
.owner = THIS_MODULE,
}, },
.probe = ct82c710_probe, .probe = ct82c710_probe,
.remove = ct82c710_remove, .remove = ct82c710_remove,
......
...@@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, sparc_i8042_match); ...@@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, sparc_i8042_match);
static struct platform_driver sparc_i8042_driver = { static struct platform_driver sparc_i8042_driver = {
.driver = { .driver = {
.name = "i8042", .name = "i8042",
.owner = THIS_MODULE,
.of_match_table = sparc_i8042_match, .of_match_table = sparc_i8042_match,
}, },
.probe = sparc_i8042_probe, .probe = sparc_i8042_probe,
......
...@@ -1463,7 +1463,6 @@ static int i8042_remove(struct platform_device *dev) ...@@ -1463,7 +1463,6 @@ static int i8042_remove(struct platform_device *dev)
static struct platform_driver i8042_driver = { static struct platform_driver i8042_driver = {
.driver = { .driver = {
.name = "i8042", .name = "i8042",
.owner = THIS_MODULE,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.pm = &i8042_pm_ops, .pm = &i8042_pm_ops,
#endif #endif
......
...@@ -162,7 +162,6 @@ static int maceps2_remove(struct platform_device *dev) ...@@ -162,7 +162,6 @@ static int maceps2_remove(struct platform_device *dev)
static struct platform_driver maceps2_driver = { static struct platform_driver maceps2_driver = {
.driver = { .driver = {
.name = "maceps2", .name = "maceps2",
.owner = THIS_MODULE,
}, },
.probe = maceps2_probe, .probe = maceps2_probe,
.remove = maceps2_remove, .remove = maceps2_remove,
......
...@@ -273,7 +273,6 @@ static struct platform_driver olpc_apsp_driver = { ...@@ -273,7 +273,6 @@ static struct platform_driver olpc_apsp_driver = {
.remove = olpc_apsp_remove, .remove = olpc_apsp_remove,
.driver = { .driver = {
.name = "olpc-apsp", .name = "olpc-apsp",
.owner = THIS_MODULE,
.of_match_table = olpc_apsp_dt_ids, .of_match_table = olpc_apsp_dt_ids,
}, },
}; };
......
...@@ -186,7 +186,6 @@ static int q40kbd_remove(struct platform_device *pdev) ...@@ -186,7 +186,6 @@ static int q40kbd_remove(struct platform_device *pdev)
static struct platform_driver q40kbd_driver = { static struct platform_driver q40kbd_driver = {
.driver = { .driver = {
.name = "q40kbd", .name = "q40kbd",
.owner = THIS_MODULE,
}, },
.remove = q40kbd_remove, .remove = q40kbd_remove,
}; };
......
...@@ -168,7 +168,6 @@ static struct platform_driver rpckbd_driver = { ...@@ -168,7 +168,6 @@ static struct platform_driver rpckbd_driver = {
.remove = rpckbd_remove, .remove = rpckbd_remove,
.driver = { .driver = {
.name = "kart", .name = "kart",
.owner = THIS_MODULE,
}, },
}; };
module_platform_driver(rpckbd_driver); module_platform_driver(rpckbd_driver);
...@@ -363,7 +363,6 @@ MODULE_DEVICE_TABLE(of, xps2_of_match); ...@@ -363,7 +363,6 @@ MODULE_DEVICE_TABLE(of, xps2_of_match);
static struct platform_driver xps2_of_driver = { static struct platform_driver xps2_of_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
.of_match_table = xps2_of_match, .of_match_table = xps2_of_match,
}, },
.probe = xps2_of_probe, .probe = xps2_of_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment