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: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
128562fb2a
commit
947a0687d1
|
@ -189,7 +189,6 @@ static struct platform_driver altera_ps2_driver = {
|
|||
.remove = altera_ps2_remove,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(altera_ps2_match),
|
||||
},
|
||||
};
|
||||
|
|
|
@ -214,7 +214,6 @@ MODULE_DEVICE_TABLE(of, apbps2_of_match);
|
|||
static struct platform_driver apbps2_of_driver = {
|
||||
.driver = {
|
||||
.name = "grlib-apbps2",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = apbps2_of_match,
|
||||
},
|
||||
.probe = apbps2_of_probe,
|
||||
|
|
|
@ -266,7 +266,6 @@ MODULE_DEVICE_TABLE(of, arc_ps2_match);
|
|||
static struct platform_driver arc_ps2_driver = {
|
||||
.driver = {
|
||||
.name = "arc_ps2",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(arc_ps2_match),
|
||||
},
|
||||
.probe = arc_ps2_probe,
|
||||
|
|
|
@ -352,7 +352,6 @@ static struct platform_driver psif_driver = {
|
|||
.remove = __exit_p(psif_remove),
|
||||
.driver = {
|
||||
.name = "atmel_psif",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &psif_pm_ops,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -209,7 +209,6 @@ static int ct82c710_remove(struct platform_device *dev)
|
|||
static struct platform_driver ct82c710_driver = {
|
||||
.driver = {
|
||||
.name = "ct82c710",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ct82c710_probe,
|
||||
.remove = ct82c710_remove,
|
||||
|
|
|
@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, sparc_i8042_match);
|
|||
static struct platform_driver sparc_i8042_driver = {
|
||||
.driver = {
|
||||
.name = "i8042",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = sparc_i8042_match,
|
||||
},
|
||||
.probe = sparc_i8042_probe,
|
||||
|
|
|
@ -1463,7 +1463,6 @@ static int i8042_remove(struct platform_device *dev)
|
|||
static struct platform_driver i8042_driver = {
|
||||
.driver = {
|
||||
.name = "i8042",
|
||||
.owner = THIS_MODULE,
|
||||
#ifdef CONFIG_PM
|
||||
.pm = &i8042_pm_ops,
|
||||
#endif
|
||||
|
|
|
@ -162,7 +162,6 @@ static int maceps2_remove(struct platform_device *dev)
|
|||
static struct platform_driver maceps2_driver = {
|
||||
.driver = {
|
||||
.name = "maceps2",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = maceps2_probe,
|
||||
.remove = maceps2_remove,
|
||||
|
|
|
@ -273,7 +273,6 @@ static struct platform_driver olpc_apsp_driver = {
|
|||
.remove = olpc_apsp_remove,
|
||||
.driver = {
|
||||
.name = "olpc-apsp",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = olpc_apsp_dt_ids,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -186,7 +186,6 @@ static int q40kbd_remove(struct platform_device *pdev)
|
|||
static struct platform_driver q40kbd_driver = {
|
||||
.driver = {
|
||||
.name = "q40kbd",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.remove = q40kbd_remove,
|
||||
};
|
||||
|
|
|
@ -168,7 +168,6 @@ static struct platform_driver rpckbd_driver = {
|
|||
.remove = rpckbd_remove,
|
||||
.driver = {
|
||||
.name = "kart",
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
module_platform_driver(rpckbd_driver);
|
||||
|
|
|
@ -363,7 +363,6 @@ MODULE_DEVICE_TABLE(of, xps2_of_match);
|
|||
static struct platform_driver xps2_of_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = xps2_of_match,
|
||||
},
|
||||
.probe = xps2_of_probe,
|
||||
|
|
Loading…
Reference in New Issue