diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:41 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:41 -0400 |
commit | 7b8f16c2d1a81b29035379b471226ea09817a29c (patch) | |
tree | c8b9b52244098239d054b16a55fd479fa2899243 /drivers/input/touchscreen | |
parent | 947a0687d19f7bc589183f1f0e2ca46e59cf8310 (diff) |
input: touchscreen: 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/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/88pm860x-ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/atmel-wm97xx.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/da9034-ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/da9052_tsi.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/intel-mid-touch.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/jornada720_ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/lpc32xx_ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/mc13783_ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/pcap_ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/s3c2410_ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/stmpe-ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/sun4i-ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/ti_am335x_tsc.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/tps6507x-ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/ucb1400_ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/w90p910_ts.c | 1 | ||||
-rw-r--r-- | drivers/input/touchscreen/wm831x-ts.c | 1 |
17 files changed, 0 insertions, 17 deletions
diff --git a/drivers/input/touchscreen/88pm860x-ts.c b/drivers/input/touchscreen/88pm860x-ts.c index 0d4a9fad4a78..251ff2aa0633 100644 --- a/drivers/input/touchscreen/88pm860x-ts.c +++ b/drivers/input/touchscreen/88pm860x-ts.c | |||
@@ -292,7 +292,6 @@ static int pm860x_touch_probe(struct platform_device *pdev) | |||
292 | static struct platform_driver pm860x_touch_driver = { | 292 | static struct platform_driver pm860x_touch_driver = { |
293 | .driver = { | 293 | .driver = { |
294 | .name = "88pm860x-touch", | 294 | .name = "88pm860x-touch", |
295 | .owner = THIS_MODULE, | ||
296 | }, | 295 | }, |
297 | .probe = pm860x_touch_probe, | 296 | .probe = pm860x_touch_probe, |
298 | }; | 297 | }; |
diff --git a/drivers/input/touchscreen/atmel-wm97xx.c b/drivers/input/touchscreen/atmel-wm97xx.c index 279c0e42b8a7..7ec0421c0dd8 100644 --- a/drivers/input/touchscreen/atmel-wm97xx.c +++ b/drivers/input/touchscreen/atmel-wm97xx.c | |||
@@ -425,7 +425,6 @@ static struct platform_driver atmel_wm97xx_driver = { | |||
425 | .remove = __exit_p(atmel_wm97xx_remove), | 425 | .remove = __exit_p(atmel_wm97xx_remove), |
426 | .driver = { | 426 | .driver = { |
427 | .name = "wm97xx-touch", | 427 | .name = "wm97xx-touch", |
428 | .owner = THIS_MODULE, | ||
429 | .pm = &atmel_wm97xx_pm_ops, | 428 | .pm = &atmel_wm97xx_pm_ops, |
430 | }, | 429 | }, |
431 | }; | 430 | }; |
diff --git a/drivers/input/touchscreen/da9034-ts.c b/drivers/input/touchscreen/da9034-ts.c index cf6f4b31db4d..8264822dc4b9 100644 --- a/drivers/input/touchscreen/da9034-ts.c +++ b/drivers/input/touchscreen/da9034-ts.c | |||
@@ -357,7 +357,6 @@ static int da9034_touch_probe(struct platform_device *pdev) | |||
357 | static struct platform_driver da9034_touch_driver = { | 357 | static struct platform_driver da9034_touch_driver = { |
358 | .driver = { | 358 | .driver = { |
359 | .name = "da9034-touch", | 359 | .name = "da9034-touch", |
360 | .owner = THIS_MODULE, | ||
361 | }, | 360 | }, |
362 | .probe = da9034_touch_probe, | 361 | .probe = da9034_touch_probe, |
363 | }; | 362 | }; |
diff --git a/drivers/input/touchscreen/da9052_tsi.c b/drivers/input/touchscreen/da9052_tsi.c index ab64d58c3ac0..5a013bb7bcad 100644 --- a/drivers/input/touchscreen/da9052_tsi.c +++ b/drivers/input/touchscreen/da9052_tsi.c | |||
@@ -337,7 +337,6 @@ static struct platform_driver da9052_tsi_driver = { | |||
337 | .remove = da9052_ts_remove, | 337 | .remove = da9052_ts_remove, |
338 | .driver = { | 338 | .driver = { |
339 | .name = "da9052-tsi", | 339 | .name = "da9052-tsi", |
340 | .owner = THIS_MODULE, | ||
341 | }, | 340 | }, |
342 | }; | 341 | }; |
343 | 342 | ||
diff --git a/drivers/input/touchscreen/intel-mid-touch.c b/drivers/input/touchscreen/intel-mid-touch.c index c38ca4a7e386..b4f0725a1c3d 100644 --- a/drivers/input/touchscreen/intel-mid-touch.c +++ b/drivers/input/touchscreen/intel-mid-touch.c | |||
@@ -644,7 +644,6 @@ static int mrstouch_probe(struct platform_device *pdev) | |||
644 | static struct platform_driver mrstouch_driver = { | 644 | static struct platform_driver mrstouch_driver = { |
645 | .driver = { | 645 | .driver = { |
646 | .name = "pmic_touch", | 646 | .name = "pmic_touch", |
647 | .owner = THIS_MODULE, | ||
648 | }, | 647 | }, |
649 | .probe = mrstouch_probe, | 648 | .probe = mrstouch_probe, |
650 | }; | 649 | }; |
diff --git a/drivers/input/touchscreen/jornada720_ts.c b/drivers/input/touchscreen/jornada720_ts.c index 651ec71a5c68..ea3b6a5b83e6 100644 --- a/drivers/input/touchscreen/jornada720_ts.c +++ b/drivers/input/touchscreen/jornada720_ts.c | |||
@@ -148,7 +148,6 @@ static struct platform_driver jornada720_ts_driver = { | |||
148 | .probe = jornada720_ts_probe, | 148 | .probe = jornada720_ts_probe, |
149 | .driver = { | 149 | .driver = { |
150 | .name = "jornada_ts", | 150 | .name = "jornada_ts", |
151 | .owner = THIS_MODULE, | ||
152 | }, | 151 | }, |
153 | }; | 152 | }; |
154 | module_platform_driver(jornada720_ts_driver); | 153 | module_platform_driver(jornada720_ts_driver); |
diff --git a/drivers/input/touchscreen/lpc32xx_ts.c b/drivers/input/touchscreen/lpc32xx_ts.c index bb47d3442a35..24d704cd9f88 100644 --- a/drivers/input/touchscreen/lpc32xx_ts.c +++ b/drivers/input/touchscreen/lpc32xx_ts.c | |||
@@ -396,7 +396,6 @@ static struct platform_driver lpc32xx_ts_driver = { | |||
396 | .remove = lpc32xx_ts_remove, | 396 | .remove = lpc32xx_ts_remove, |
397 | .driver = { | 397 | .driver = { |
398 | .name = MOD_NAME, | 398 | .name = MOD_NAME, |
399 | .owner = THIS_MODULE, | ||
400 | .pm = LPC32XX_TS_PM_OPS, | 399 | .pm = LPC32XX_TS_PM_OPS, |
401 | .of_match_table = of_match_ptr(lpc32xx_tsc_of_match), | 400 | .of_match_table = of_match_ptr(lpc32xx_tsc_of_match), |
402 | }, | 401 | }, |
diff --git a/drivers/input/touchscreen/mc13783_ts.c b/drivers/input/touchscreen/mc13783_ts.c index d6f099c47f84..913e25a994b4 100644 --- a/drivers/input/touchscreen/mc13783_ts.c +++ b/drivers/input/touchscreen/mc13783_ts.c | |||
@@ -243,7 +243,6 @@ static int mc13783_ts_remove(struct platform_device *pdev) | |||
243 | static struct platform_driver mc13783_ts_driver = { | 243 | static struct platform_driver mc13783_ts_driver = { |
244 | .remove = mc13783_ts_remove, | 244 | .remove = mc13783_ts_remove, |
245 | .driver = { | 245 | .driver = { |
246 | .owner = THIS_MODULE, | ||
247 | .name = MC13783_TS_NAME, | 246 | .name = MC13783_TS_NAME, |
248 | }, | 247 | }, |
249 | }; | 248 | }; |
diff --git a/drivers/input/touchscreen/pcap_ts.c b/drivers/input/touchscreen/pcap_ts.c index cff2376817e5..23a354a392ae 100644 --- a/drivers/input/touchscreen/pcap_ts.c +++ b/drivers/input/touchscreen/pcap_ts.c | |||
@@ -247,7 +247,6 @@ static struct platform_driver pcap_ts_driver = { | |||
247 | .remove = pcap_ts_remove, | 247 | .remove = pcap_ts_remove, |
248 | .driver = { | 248 | .driver = { |
249 | .name = "pcap-ts", | 249 | .name = "pcap-ts", |
250 | .owner = THIS_MODULE, | ||
251 | .pm = PCAP_TS_PM_OPS, | 250 | .pm = PCAP_TS_PM_OPS, |
252 | }, | 251 | }, |
253 | }; | 252 | }; |
diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c index 5a69ded9b53c..bdfa27dc097b 100644 --- a/drivers/input/touchscreen/s3c2410_ts.c +++ b/drivers/input/touchscreen/s3c2410_ts.c | |||
@@ -422,7 +422,6 @@ MODULE_DEVICE_TABLE(platform, s3cts_driver_ids); | |||
422 | static struct platform_driver s3c_ts_driver = { | 422 | static struct platform_driver s3c_ts_driver = { |
423 | .driver = { | 423 | .driver = { |
424 | .name = "samsung-ts", | 424 | .name = "samsung-ts", |
425 | .owner = THIS_MODULE, | ||
426 | #ifdef CONFIG_PM | 425 | #ifdef CONFIG_PM |
427 | .pm = &s3c_ts_pmops, | 426 | .pm = &s3c_ts_pmops, |
428 | #endif | 427 | #endif |
diff --git a/drivers/input/touchscreen/stmpe-ts.c b/drivers/input/touchscreen/stmpe-ts.c index 42ce31afa259..2d5ff86b343f 100644 --- a/drivers/input/touchscreen/stmpe-ts.c +++ b/drivers/input/touchscreen/stmpe-ts.c | |||
@@ -384,7 +384,6 @@ static int stmpe_ts_remove(struct platform_device *pdev) | |||
384 | static struct platform_driver stmpe_ts_driver = { | 384 | static struct platform_driver stmpe_ts_driver = { |
385 | .driver = { | 385 | .driver = { |
386 | .name = STMPE_TS_NAME, | 386 | .name = STMPE_TS_NAME, |
387 | .owner = THIS_MODULE, | ||
388 | }, | 387 | }, |
389 | .probe = stmpe_input_probe, | 388 | .probe = stmpe_input_probe, |
390 | .remove = stmpe_ts_remove, | 389 | .remove = stmpe_ts_remove, |
diff --git a/drivers/input/touchscreen/sun4i-ts.c b/drivers/input/touchscreen/sun4i-ts.c index 2ba826024954..28a06749ae42 100644 --- a/drivers/input/touchscreen/sun4i-ts.c +++ b/drivers/input/touchscreen/sun4i-ts.c | |||
@@ -324,7 +324,6 @@ MODULE_DEVICE_TABLE(of, sun4i_ts_of_match); | |||
324 | 324 | ||
325 | static struct platform_driver sun4i_ts_driver = { | 325 | static struct platform_driver sun4i_ts_driver = { |
326 | .driver = { | 326 | .driver = { |
327 | .owner = THIS_MODULE, | ||
328 | .name = "sun4i-ts", | 327 | .name = "sun4i-ts", |
329 | .of_match_table = of_match_ptr(sun4i_ts_of_match), | 328 | .of_match_table = of_match_ptr(sun4i_ts_of_match), |
330 | }, | 329 | }, |
diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c index 2ce649520fe0..004f1346a957 100644 --- a/drivers/input/touchscreen/ti_am335x_tsc.c +++ b/drivers/input/touchscreen/ti_am335x_tsc.c | |||
@@ -518,7 +518,6 @@ static struct platform_driver ti_tsc_driver = { | |||
518 | .remove = titsc_remove, | 518 | .remove = titsc_remove, |
519 | .driver = { | 519 | .driver = { |
520 | .name = "TI-am335x-tsc", | 520 | .name = "TI-am335x-tsc", |
521 | .owner = THIS_MODULE, | ||
522 | .pm = TITSC_PM_OPS, | 521 | .pm = TITSC_PM_OPS, |
523 | .of_match_table = ti_tsc_dt_ids, | 522 | .of_match_table = ti_tsc_dt_ids, |
524 | }, | 523 | }, |
diff --git a/drivers/input/touchscreen/tps6507x-ts.c b/drivers/input/touchscreen/tps6507x-ts.c index 94cde2cb1491..4ffd829d1990 100644 --- a/drivers/input/touchscreen/tps6507x-ts.c +++ b/drivers/input/touchscreen/tps6507x-ts.c | |||
@@ -314,7 +314,6 @@ static int tps6507x_ts_remove(struct platform_device *pdev) | |||
314 | static struct platform_driver tps6507x_ts_driver = { | 314 | static struct platform_driver tps6507x_ts_driver = { |
315 | .driver = { | 315 | .driver = { |
316 | .name = "tps6507x-ts", | 316 | .name = "tps6507x-ts", |
317 | .owner = THIS_MODULE, | ||
318 | }, | 317 | }, |
319 | .probe = tps6507x_ts_probe, | 318 | .probe = tps6507x_ts_probe, |
320 | .remove = tps6507x_ts_remove, | 319 | .remove = tps6507x_ts_remove, |
diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c index b46c55cd1bbb..0eca00da584b 100644 --- a/drivers/input/touchscreen/ucb1400_ts.c +++ b/drivers/input/touchscreen/ucb1400_ts.c | |||
@@ -444,7 +444,6 @@ static struct platform_driver ucb1400_ts_driver = { | |||
444 | .remove = ucb1400_ts_remove, | 444 | .remove = ucb1400_ts_remove, |
445 | .driver = { | 445 | .driver = { |
446 | .name = "ucb1400_ts", | 446 | .name = "ucb1400_ts", |
447 | .owner = THIS_MODULE, | ||
448 | .pm = &ucb1400_ts_pm_ops, | 447 | .pm = &ucb1400_ts_pm_ops, |
449 | }, | 448 | }, |
450 | }; | 449 | }; |
diff --git a/drivers/input/touchscreen/w90p910_ts.c b/drivers/input/touchscreen/w90p910_ts.c index 003d0c3b5d08..da6004e97753 100644 --- a/drivers/input/touchscreen/w90p910_ts.c +++ b/drivers/input/touchscreen/w90p910_ts.c | |||
@@ -326,7 +326,6 @@ static struct platform_driver w90x900ts_driver = { | |||
326 | .remove = w90x900ts_remove, | 326 | .remove = w90x900ts_remove, |
327 | .driver = { | 327 | .driver = { |
328 | .name = "nuc900-ts", | 328 | .name = "nuc900-ts", |
329 | .owner = THIS_MODULE, | ||
330 | }, | 329 | }, |
331 | }; | 330 | }; |
332 | module_platform_driver(w90x900ts_driver); | 331 | module_platform_driver(w90x900ts_driver); |
diff --git a/drivers/input/touchscreen/wm831x-ts.c b/drivers/input/touchscreen/wm831x-ts.c index 1b953a066b2c..1db0a1410929 100644 --- a/drivers/input/touchscreen/wm831x-ts.c +++ b/drivers/input/touchscreen/wm831x-ts.c | |||
@@ -392,7 +392,6 @@ static int wm831x_ts_remove(struct platform_device *pdev) | |||
392 | static struct platform_driver wm831x_ts_driver = { | 392 | static struct platform_driver wm831x_ts_driver = { |
393 | .driver = { | 393 | .driver = { |
394 | .name = "wm831x-touch", | 394 | .name = "wm831x-touch", |
395 | .owner = THIS_MODULE, | ||
396 | }, | 395 | }, |
397 | .probe = wm831x_ts_probe, | 396 | .probe = wm831x_ts_probe, |
398 | .remove = wm831x_ts_remove, | 397 | .remove = wm831x_ts_remove, |