Browse Source

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>
Wolfram Sang 10 years ago
parent
commit
947a0687d1

+ 0 - 1
drivers/input/serio/altera_ps2.c

@@ -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),
 	},
 	},
 };
 };

+ 0 - 1
drivers/input/serio/apbps2.c

@@ -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,

+ 0 - 1
drivers/input/serio/arc_ps2.c

@@ -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,

+ 0 - 1
drivers/input/serio/at32psif.c

@@ -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,
 	},
 	},
 };
 };

+ 0 - 1
drivers/input/serio/ct82c710.c

@@ -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,

+ 0 - 1
drivers/input/serio/i8042-sparcio.h

@@ -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,

+ 0 - 1
drivers/input/serio/i8042.c

@@ -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

+ 0 - 1
drivers/input/serio/maceps2.c

@@ -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,

+ 0 - 1
drivers/input/serio/olpc_apsp.c

@@ -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,
 	},
 	},
 };
 };

+ 0 - 1
drivers/input/serio/q40kbd.c

@@ -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,
 };
 };

+ 0 - 1
drivers/input/serio/rpckbd.c

@@ -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);

+ 0 - 1
drivers/input/serio/xilinx_ps2.c

@@ -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,