aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/ad7879-i2c.c12
-rw-r--r--drivers/input/touchscreen/atmel_mxt_ts.c13
-rw-r--r--drivers/input/touchscreen/bu21013_ts.c25
-rw-r--r--drivers/input/touchscreen/cy8ctmg110_ts.c13
-rw-r--r--drivers/input/touchscreen/eeti_ts.c14
-rw-r--r--drivers/input/touchscreen/egalax_ts.c13
-rw-r--r--drivers/input/touchscreen/max11801_ts.c13
-rw-r--r--drivers/input/touchscreen/mcs5000_ts.c13
-rw-r--r--drivers/input/touchscreen/migor_ts.c13
-rw-r--r--drivers/input/touchscreen/st1232.c12
-rw-r--r--drivers/input/touchscreen/tsc2007.c13
11 files changed, 11 insertions, 143 deletions
diff --git a/drivers/input/touchscreen/ad7879-i2c.c b/drivers/input/touchscreen/ad7879-i2c.c
index 0dac6712f42b..3054354d0dd3 100644
--- a/drivers/input/touchscreen/ad7879-i2c.c
+++ b/drivers/input/touchscreen/ad7879-i2c.c
@@ -102,17 +102,7 @@ static struct i2c_driver ad7879_i2c_driver = {
102 .id_table = ad7879_id, 102 .id_table = ad7879_id,
103}; 103};
104 104
105static int __init ad7879_i2c_init(void) 105module_i2c_driver(ad7879_i2c_driver);
106{
107 return i2c_add_driver(&ad7879_i2c_driver);
108}
109module_init(ad7879_i2c_init);
110
111static void __exit ad7879_i2c_exit(void)
112{
113 i2c_del_driver(&ad7879_i2c_driver);
114}
115module_exit(ad7879_i2c_exit);
116 106
117MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>"); 107MODULE_AUTHOR("Michael Hennerich <hennerich@blackfin.uclinux.org>");
118MODULE_DESCRIPTION("AD7879(-1) touchscreen I2C bus driver"); 108MODULE_DESCRIPTION("AD7879(-1) touchscreen I2C bus driver");
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index a596c2775d1a..19d4ea65ea01 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -1267,18 +1267,7 @@ static struct i2c_driver mxt_driver = {
1267 .id_table = mxt_id, 1267 .id_table = mxt_id,
1268}; 1268};
1269 1269
1270static int __init mxt_init(void) 1270module_i2c_driver(mxt_driver);
1271{
1272 return i2c_add_driver(&mxt_driver);
1273}
1274
1275static void __exit mxt_exit(void)
1276{
1277 i2c_del_driver(&mxt_driver);
1278}
1279
1280module_init(mxt_init);
1281module_exit(mxt_exit);
1282 1271
1283/* Module information */ 1272/* Module information */
1284MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>"); 1273MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>");
diff --git a/drivers/input/touchscreen/bu21013_ts.c b/drivers/input/touchscreen/bu21013_ts.c
index 902c7214e887..f2d03c06c2da 100644
--- a/drivers/input/touchscreen/bu21013_ts.c
+++ b/drivers/input/touchscreen/bu21013_ts.c
@@ -652,30 +652,7 @@ static struct i2c_driver bu21013_driver = {
652 .id_table = bu21013_id, 652 .id_table = bu21013_id,
653}; 653};
654 654
655/** 655module_i2c_driver(bu21013_driver);
656 * bu21013_init() - initializes the bu21013 touchscreen driver
657 *
658 * This function used to initializes the bu21013
659 * touchscreen driver and returns integer.
660 */
661static int __init bu21013_init(void)
662{
663 return i2c_add_driver(&bu21013_driver);
664}
665
666/**
667 * bu21013_exit() - de-initializes the bu21013 touchscreen driver
668 *
669 * This function uses to de-initializes the bu21013
670 * touchscreen driver and returns none.
671 */
672static void __exit bu21013_exit(void)
673{
674 i2c_del_driver(&bu21013_driver);
675}
676
677module_init(bu21013_init);
678module_exit(bu21013_exit);
679 656
680MODULE_LICENSE("GPL v2"); 657MODULE_LICENSE("GPL v2");
681MODULE_AUTHOR("Naveen Kumar G <naveen.gaddipati@stericsson.com>"); 658MODULE_AUTHOR("Naveen Kumar G <naveen.gaddipati@stericsson.com>");
diff --git a/drivers/input/touchscreen/cy8ctmg110_ts.c b/drivers/input/touchscreen/cy8ctmg110_ts.c
index d8815c5d54ad..237753ad1031 100644
--- a/drivers/input/touchscreen/cy8ctmg110_ts.c
+++ b/drivers/input/touchscreen/cy8ctmg110_ts.c
@@ -350,18 +350,7 @@ static struct i2c_driver cy8ctmg110_driver = {
350 .remove = __devexit_p(cy8ctmg110_remove), 350 .remove = __devexit_p(cy8ctmg110_remove),
351}; 351};
352 352
353static int __init cy8ctmg110_init(void) 353module_i2c_driver(cy8ctmg110_driver);
354{
355 return i2c_add_driver(&cy8ctmg110_driver);
356}
357
358static void __exit cy8ctmg110_exit(void)
359{
360 i2c_del_driver(&cy8ctmg110_driver);
361}
362
363module_init(cy8ctmg110_init);
364module_exit(cy8ctmg110_exit);
365 354
366MODULE_AUTHOR("Samuli Konttila <samuli.konttila@aavamobile.com>"); 355MODULE_AUTHOR("Samuli Konttila <samuli.konttila@aavamobile.com>");
367MODULE_DESCRIPTION("cy8ctmg110 TouchScreen Driver"); 356MODULE_DESCRIPTION("cy8ctmg110 TouchScreen Driver");
diff --git a/drivers/input/touchscreen/eeti_ts.c b/drivers/input/touchscreen/eeti_ts.c
index 1df19bb8534a..503c7096ed36 100644
--- a/drivers/input/touchscreen/eeti_ts.c
+++ b/drivers/input/touchscreen/eeti_ts.c
@@ -320,20 +320,8 @@ static struct i2c_driver eeti_ts_driver = {
320 .id_table = eeti_ts_id, 320 .id_table = eeti_ts_id,
321}; 321};
322 322
323static int __init eeti_ts_init(void) 323module_i2c_driver(eeti_ts_driver);
324{
325 return i2c_add_driver(&eeti_ts_driver);
326}
327
328static void __exit eeti_ts_exit(void)
329{
330 i2c_del_driver(&eeti_ts_driver);
331}
332 324
333MODULE_DESCRIPTION("EETI Touchscreen driver"); 325MODULE_DESCRIPTION("EETI Touchscreen driver");
334MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>"); 326MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>");
335MODULE_LICENSE("GPL"); 327MODULE_LICENSE("GPL");
336
337module_init(eeti_ts_init);
338module_exit(eeti_ts_exit);
339
diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
index eadcc2e83c77..70524dd34f42 100644
--- a/drivers/input/touchscreen/egalax_ts.c
+++ b/drivers/input/touchscreen/egalax_ts.c
@@ -285,18 +285,7 @@ static struct i2c_driver egalax_ts_driver = {
285 .remove = __devexit_p(egalax_ts_remove), 285 .remove = __devexit_p(egalax_ts_remove),
286}; 286};
287 287
288static int __init egalax_ts_init(void) 288module_i2c_driver(egalax_ts_driver);
289{
290 return i2c_add_driver(&egalax_ts_driver);
291}
292
293static void __exit egalax_ts_exit(void)
294{
295 i2c_del_driver(&egalax_ts_driver);
296}
297
298module_init(egalax_ts_init);
299module_exit(egalax_ts_exit);
300 289
301MODULE_AUTHOR("Freescale Semiconductor, Inc."); 290MODULE_AUTHOR("Freescale Semiconductor, Inc.");
302MODULE_DESCRIPTION("Touchscreen driver for EETI eGalax touch controller"); 291MODULE_DESCRIPTION("Touchscreen driver for EETI eGalax touch controller");
diff --git a/drivers/input/touchscreen/max11801_ts.c b/drivers/input/touchscreen/max11801_ts.c
index 4627fe55b401..4eab50b856d7 100644
--- a/drivers/input/touchscreen/max11801_ts.c
+++ b/drivers/input/touchscreen/max11801_ts.c
@@ -255,18 +255,7 @@ static struct i2c_driver max11801_ts_driver = {
255 .remove = __devexit_p(max11801_ts_remove), 255 .remove = __devexit_p(max11801_ts_remove),
256}; 256};
257 257
258static int __init max11801_ts_init(void) 258module_i2c_driver(max11801_ts_driver);
259{
260 return i2c_add_driver(&max11801_ts_driver);
261}
262
263static void __exit max11801_ts_exit(void)
264{
265 i2c_del_driver(&max11801_ts_driver);
266}
267
268module_init(max11801_ts_init);
269module_exit(max11801_ts_exit);
270 259
271MODULE_AUTHOR("Zhang Jiejing <jiejing.zhang@freescale.com>"); 260MODULE_AUTHOR("Zhang Jiejing <jiejing.zhang@freescale.com>");
272MODULE_DESCRIPTION("Touchscreen driver for MAXI MAX11801 controller"); 261MODULE_DESCRIPTION("Touchscreen driver for MAXI MAX11801 controller");
diff --git a/drivers/input/touchscreen/mcs5000_ts.c b/drivers/input/touchscreen/mcs5000_ts.c
index 2d84c80ceb66..b528511861ce 100644
--- a/drivers/input/touchscreen/mcs5000_ts.c
+++ b/drivers/input/touchscreen/mcs5000_ts.c
@@ -302,18 +302,7 @@ static struct i2c_driver mcs5000_ts_driver = {
302 .id_table = mcs5000_ts_id, 302 .id_table = mcs5000_ts_id,
303}; 303};
304 304
305static int __init mcs5000_ts_init(void) 305module_i2c_driver(mcs5000_ts_driver);
306{
307 return i2c_add_driver(&mcs5000_ts_driver);
308}
309
310static void __exit mcs5000_ts_exit(void)
311{
312 i2c_del_driver(&mcs5000_ts_driver);
313}
314
315module_init(mcs5000_ts_init);
316module_exit(mcs5000_ts_exit);
317 306
318/* Module information */ 307/* Module information */
319MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>"); 308MODULE_AUTHOR("Joonyoung Shim <jy0922.shim@samsung.com>");
diff --git a/drivers/input/touchscreen/migor_ts.c b/drivers/input/touchscreen/migor_ts.c
index 5226194aa78e..c038db93e2c3 100644
--- a/drivers/input/touchscreen/migor_ts.c
+++ b/drivers/input/touchscreen/migor_ts.c
@@ -242,19 +242,8 @@ static struct i2c_driver migor_ts_driver = {
242 .id_table = migor_ts_id, 242 .id_table = migor_ts_id,
243}; 243};
244 244
245static int __init migor_ts_init(void) 245module_i2c_driver(migor_ts_driver);
246{
247 return i2c_add_driver(&migor_ts_driver);
248}
249
250static void __exit migor_ts_exit(void)
251{
252 i2c_del_driver(&migor_ts_driver);
253}
254 246
255MODULE_DESCRIPTION("MigoR Touchscreen driver"); 247MODULE_DESCRIPTION("MigoR Touchscreen driver");
256MODULE_AUTHOR("Magnus Damm <damm@opensource.se>"); 248MODULE_AUTHOR("Magnus Damm <damm@opensource.se>");
257MODULE_LICENSE("GPL"); 249MODULE_LICENSE("GPL");
258
259module_init(migor_ts_init);
260module_exit(migor_ts_exit);
diff --git a/drivers/input/touchscreen/st1232.c b/drivers/input/touchscreen/st1232.c
index 8825fe37d433..cbbf71b22696 100644
--- a/drivers/input/touchscreen/st1232.c
+++ b/drivers/input/touchscreen/st1232.c
@@ -268,17 +268,7 @@ static struct i2c_driver st1232_ts_driver = {
268 }, 268 },
269}; 269};
270 270
271static int __init st1232_ts_init(void) 271module_i2c_driver(st1232_ts_driver);
272{
273 return i2c_add_driver(&st1232_ts_driver);
274}
275module_init(st1232_ts_init);
276
277static void __exit st1232_ts_exit(void)
278{
279 i2c_del_driver(&st1232_ts_driver);
280}
281module_exit(st1232_ts_exit);
282 272
283MODULE_AUTHOR("Tony SIM <chinyeow.sim.xt@renesas.com>"); 273MODULE_AUTHOR("Tony SIM <chinyeow.sim.xt@renesas.com>");
284MODULE_DESCRIPTION("SITRONIX ST1232 Touchscreen Controller Driver"); 274MODULE_DESCRIPTION("SITRONIX ST1232 Touchscreen Controller Driver");
diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c
index 1f674cb6c55b..1473d2382afd 100644
--- a/drivers/input/touchscreen/tsc2007.c
+++ b/drivers/input/touchscreen/tsc2007.c
@@ -399,18 +399,7 @@ static struct i2c_driver tsc2007_driver = {
399 .remove = __devexit_p(tsc2007_remove), 399 .remove = __devexit_p(tsc2007_remove),
400}; 400};
401 401
402static int __init tsc2007_init(void) 402module_i2c_driver(tsc2007_driver);
403{
404 return i2c_add_driver(&tsc2007_driver);
405}
406
407static void __exit tsc2007_exit(void)
408{
409 i2c_del_driver(&tsc2007_driver);
410}
411
412module_init(tsc2007_init);
413module_exit(tsc2007_exit);
414 403
415MODULE_AUTHOR("Kwangwoo Lee <kwlee@mtekvision.com>"); 404MODULE_AUTHOR("Kwangwoo Lee <kwlee@mtekvision.com>");
416MODULE_DESCRIPTION("TSC2007 TouchScreen Driver"); 405MODULE_DESCRIPTION("TSC2007 TouchScreen Driver");