aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:41 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:41 -0400
commit947a0687d19f7bc589183f1f0e2ca46e59cf8310 (patch)
treef995f9103b9214079354ec7f9954338faf9de327 /drivers/input
parent128562fb2ad542ab66f293fa2fec92e0ea3e531c (diff)
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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/serio/altera_ps2.c1
-rw-r--r--drivers/input/serio/apbps2.c1
-rw-r--r--drivers/input/serio/arc_ps2.c1
-rw-r--r--drivers/input/serio/at32psif.c1
-rw-r--r--drivers/input/serio/ct82c710.c1
-rw-r--r--drivers/input/serio/i8042-sparcio.h1
-rw-r--r--drivers/input/serio/i8042.c1
-rw-r--r--drivers/input/serio/maceps2.c1
-rw-r--r--drivers/input/serio/olpc_apsp.c1
-rw-r--r--drivers/input/serio/q40kbd.c1
-rw-r--r--drivers/input/serio/rpckbd.c1
-rw-r--r--drivers/input/serio/xilinx_ps2.c1
12 files changed, 0 insertions, 12 deletions
diff --git a/drivers/input/serio/altera_ps2.c b/drivers/input/serio/altera_ps2.c
index cce69d6b9587..e8420ddd57f2 100644
--- a/drivers/input/serio/altera_ps2.c
+++ b/drivers/input/serio/altera_ps2.c
@@ -189,7 +189,6 @@ static struct platform_driver altera_ps2_driver = {
189 .remove = altera_ps2_remove, 189 .remove = altera_ps2_remove,
190 .driver = { 190 .driver = {
191 .name = DRV_NAME, 191 .name = DRV_NAME,
192 .owner = THIS_MODULE,
193 .of_match_table = of_match_ptr(altera_ps2_match), 192 .of_match_table = of_match_ptr(altera_ps2_match),
194 }, 193 },
195}; 194};
diff --git a/drivers/input/serio/apbps2.c b/drivers/input/serio/apbps2.c
index 98be824544a5..45d4e08ca4f8 100644
--- a/drivers/input/serio/apbps2.c
+++ b/drivers/input/serio/apbps2.c
@@ -214,7 +214,6 @@ MODULE_DEVICE_TABLE(of, apbps2_of_match);
214static struct platform_driver apbps2_of_driver = { 214static struct platform_driver apbps2_of_driver = {
215 .driver = { 215 .driver = {
216 .name = "grlib-apbps2", 216 .name = "grlib-apbps2",
217 .owner = THIS_MODULE,
218 .of_match_table = apbps2_of_match, 217 .of_match_table = apbps2_of_match,
219 }, 218 },
220 .probe = apbps2_of_probe, 219 .probe = apbps2_of_probe,
diff --git a/drivers/input/serio/arc_ps2.c b/drivers/input/serio/arc_ps2.c
index 8024a6d7fccb..99e57a418753 100644
--- a/drivers/input/serio/arc_ps2.c
+++ b/drivers/input/serio/arc_ps2.c
@@ -266,7 +266,6 @@ MODULE_DEVICE_TABLE(of, arc_ps2_match);
266static struct platform_driver arc_ps2_driver = { 266static struct platform_driver arc_ps2_driver = {
267 .driver = { 267 .driver = {
268 .name = "arc_ps2", 268 .name = "arc_ps2",
269 .owner = THIS_MODULE,
270 .of_match_table = of_match_ptr(arc_ps2_match), 269 .of_match_table = of_match_ptr(arc_ps2_match),
271 }, 270 },
272 .probe = arc_ps2_probe, 271 .probe = arc_ps2_probe,
diff --git a/drivers/input/serio/at32psif.c b/drivers/input/serio/at32psif.c
index 3290b287ac4b..2e4ff5bac754 100644
--- a/drivers/input/serio/at32psif.c
+++ b/drivers/input/serio/at32psif.c
@@ -352,7 +352,6 @@ static struct platform_driver psif_driver = {
352 .remove = __exit_p(psif_remove), 352 .remove = __exit_p(psif_remove),
353 .driver = { 353 .driver = {
354 .name = "atmel_psif", 354 .name = "atmel_psif",
355 .owner = THIS_MODULE,
356 .pm = &psif_pm_ops, 355 .pm = &psif_pm_ops,
357 }, 356 },
358}; 357};
diff --git a/drivers/input/serio/ct82c710.c b/drivers/input/serio/ct82c710.c
index cfe549d4eaa5..9c54c43c9749 100644
--- a/drivers/input/serio/ct82c710.c
+++ b/drivers/input/serio/ct82c710.c
@@ -209,7 +209,6 @@ static int ct82c710_remove(struct platform_device *dev)
209static struct platform_driver ct82c710_driver = { 209static struct platform_driver ct82c710_driver = {
210 .driver = { 210 .driver = {
211 .name = "ct82c710", 211 .name = "ct82c710",
212 .owner = THIS_MODULE,
213 }, 212 },
214 .probe = ct82c710_probe, 213 .probe = ct82c710_probe,
215 .remove = ct82c710_remove, 214 .remove = ct82c710_remove,
diff --git a/drivers/input/serio/i8042-sparcio.h b/drivers/input/serio/i8042-sparcio.h
index 93cb7912703c..afcd1c1a05b2 100644
--- a/drivers/input/serio/i8042-sparcio.h
+++ b/drivers/input/serio/i8042-sparcio.h
@@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, sparc_i8042_match);
99static struct platform_driver sparc_i8042_driver = { 99static struct platform_driver sparc_i8042_driver = {
100 .driver = { 100 .driver = {
101 .name = "i8042", 101 .name = "i8042",
102 .owner = THIS_MODULE,
103 .of_match_table = sparc_i8042_match, 102 .of_match_table = sparc_i8042_match,
104 }, 103 },
105 .probe = sparc_i8042_probe, 104 .probe = sparc_i8042_probe,
diff --git a/drivers/input/serio/i8042.c b/drivers/input/serio/i8042.c
index 9a97c2b10926..10c6852250c6 100644
--- a/drivers/input/serio/i8042.c
+++ b/drivers/input/serio/i8042.c
@@ -1463,7 +1463,6 @@ static int i8042_remove(struct platform_device *dev)
1463static struct platform_driver i8042_driver = { 1463static struct platform_driver i8042_driver = {
1464 .driver = { 1464 .driver = {
1465 .name = "i8042", 1465 .name = "i8042",
1466 .owner = THIS_MODULE,
1467#ifdef CONFIG_PM 1466#ifdef CONFIG_PM
1468 .pm = &i8042_pm_ops, 1467 .pm = &i8042_pm_ops,
1469#endif 1468#endif
diff --git a/drivers/input/serio/maceps2.c b/drivers/input/serio/maceps2.c
index bc85e1cc66d8..e365c5f4cbc9 100644
--- a/drivers/input/serio/maceps2.c
+++ b/drivers/input/serio/maceps2.c
@@ -162,7 +162,6 @@ static int maceps2_remove(struct platform_device *dev)
162static struct platform_driver maceps2_driver = { 162static struct platform_driver maceps2_driver = {
163 .driver = { 163 .driver = {
164 .name = "maceps2", 164 .name = "maceps2",
165 .owner = THIS_MODULE,
166 }, 165 },
167 .probe = maceps2_probe, 166 .probe = maceps2_probe,
168 .remove = maceps2_remove, 167 .remove = maceps2_remove,
diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c
index d906f3ebc8c8..8e9a4209fcad 100644
--- a/drivers/input/serio/olpc_apsp.c
+++ b/drivers/input/serio/olpc_apsp.c
@@ -273,7 +273,6 @@ static struct platform_driver olpc_apsp_driver = {
273 .remove = olpc_apsp_remove, 273 .remove = olpc_apsp_remove,
274 .driver = { 274 .driver = {
275 .name = "olpc-apsp", 275 .name = "olpc-apsp",
276 .owner = THIS_MODULE,
277 .of_match_table = olpc_apsp_dt_ids, 276 .of_match_table = olpc_apsp_dt_ids,
278 }, 277 },
279}; 278};
diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c
index 594256c38554..5a9d521510bf 100644
--- a/drivers/input/serio/q40kbd.c
+++ b/drivers/input/serio/q40kbd.c
@@ -186,7 +186,6 @@ static int q40kbd_remove(struct platform_device *pdev)
186static struct platform_driver q40kbd_driver = { 186static struct platform_driver q40kbd_driver = {
187 .driver = { 187 .driver = {
188 .name = "q40kbd", 188 .name = "q40kbd",
189 .owner = THIS_MODULE,
190 }, 189 },
191 .remove = q40kbd_remove, 190 .remove = q40kbd_remove,
192}; 191};
diff --git a/drivers/input/serio/rpckbd.c b/drivers/input/serio/rpckbd.c
index e462e7791bb8..8cf964736902 100644
--- a/drivers/input/serio/rpckbd.c
+++ b/drivers/input/serio/rpckbd.c
@@ -168,7 +168,6 @@ static struct platform_driver rpckbd_driver = {
168 .remove = rpckbd_remove, 168 .remove = rpckbd_remove,
169 .driver = { 169 .driver = {
170 .name = "kart", 170 .name = "kart",
171 .owner = THIS_MODULE,
172 }, 171 },
173}; 172};
174module_platform_driver(rpckbd_driver); 173module_platform_driver(rpckbd_driver);
diff --git a/drivers/input/serio/xilinx_ps2.c b/drivers/input/serio/xilinx_ps2.c
index e6cf52ebad87..5223cbf94262 100644
--- a/drivers/input/serio/xilinx_ps2.c
+++ b/drivers/input/serio/xilinx_ps2.c
@@ -363,7 +363,6 @@ MODULE_DEVICE_TABLE(of, xps2_of_match);
363static struct platform_driver xps2_of_driver = { 363static struct platform_driver xps2_of_driver = {
364 .driver = { 364 .driver = {
365 .name = DRIVER_NAME, 365 .name = DRIVER_NAME,
366 .owner = THIS_MODULE,
367 .of_match_table = xps2_of_match, 366 .of_match_table = xps2_of_match,
368 }, 367 },
369 .probe = xps2_of_probe, 368 .probe = xps2_of_probe,