stmpe-ts.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) | stmpe-ts.c (cdcc96e261909eccf596c070116c8b906a42b328) |
---|---|
1/* STMicroelectronics STMPE811 Touchscreen Driver 2 * 3 * (C) 2010 Luotao Fu <l.fu@pengutronix.de> 4 * All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2 of the License, or (at your --- 365 unchanged lines hidden (view full) --- 374static struct platform_driver stmpe_ts_driver = { 375 .driver = { 376 .name = STMPE_TS_NAME, 377 .owner = THIS_MODULE, 378 }, 379 .probe = stmpe_input_probe, 380 .remove = __devexit_p(stmpe_ts_remove), 381}; | 1/* STMicroelectronics STMPE811 Touchscreen Driver 2 * 3 * (C) 2010 Luotao Fu <l.fu@pengutronix.de> 4 * All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2 of the License, or (at your --- 365 unchanged lines hidden (view full) --- 374static struct platform_driver stmpe_ts_driver = { 375 .driver = { 376 .name = STMPE_TS_NAME, 377 .owner = THIS_MODULE, 378 }, 379 .probe = stmpe_input_probe, 380 .remove = __devexit_p(stmpe_ts_remove), 381}; |
382module_platform_driver(stmpe_ts_driver); |
|
382 | 383 |
383static int __init stmpe_ts_init(void) 384{ 385 return platform_driver_register(&stmpe_ts_driver); 386} 387 388module_init(stmpe_ts_init); 389 390static void __exit stmpe_ts_exit(void) 391{ 392 platform_driver_unregister(&stmpe_ts_driver); 393} 394 395module_exit(stmpe_ts_exit); 396 | |
397MODULE_AUTHOR("Luotao Fu <l.fu@pengutronix.de>"); 398MODULE_DESCRIPTION("STMPEXXX touchscreen driver"); 399MODULE_LICENSE("GPL"); 400MODULE_ALIAS("platform:" STMPE_TS_NAME); | 384MODULE_AUTHOR("Luotao Fu <l.fu@pengutronix.de>"); 385MODULE_DESCRIPTION("STMPEXXX touchscreen driver"); 386MODULE_LICENSE("GPL"); 387MODULE_ALIAS("platform:" STMPE_TS_NAME); |