wm831x-ts.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) | wm831x-ts.c (cdcc96e261909eccf596c070116c8b906a42b328) |
---|---|
1/* 2 * Touchscreen driver for WM831x PMICs 3 * 4 * Copyright 2011 Wolfson Microelectronics plc. 5 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 387 unchanged lines hidden (view full) --- 396static struct platform_driver wm831x_ts_driver = { 397 .driver = { 398 .name = "wm831x-touch", 399 .owner = THIS_MODULE, 400 }, 401 .probe = wm831x_ts_probe, 402 .remove = __devexit_p(wm831x_ts_remove), 403}; | 1/* 2 * Touchscreen driver for WM831x PMICs 3 * 4 * Copyright 2011 Wolfson Microelectronics plc. 5 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 387 unchanged lines hidden (view full) --- 396static struct platform_driver wm831x_ts_driver = { 397 .driver = { 398 .name = "wm831x-touch", 399 .owner = THIS_MODULE, 400 }, 401 .probe = wm831x_ts_probe, 402 .remove = __devexit_p(wm831x_ts_remove), 403}; |
404module_platform_driver(wm831x_ts_driver); |
|
404 | 405 |
405static int __init wm831x_ts_init(void) 406{ 407 return platform_driver_register(&wm831x_ts_driver); 408} 409module_init(wm831x_ts_init); 410 411static void __exit wm831x_ts_exit(void) 412{ 413 platform_driver_unregister(&wm831x_ts_driver); 414} 415module_exit(wm831x_ts_exit); 416 | |
417/* Module information */ 418MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); 419MODULE_DESCRIPTION("WM831x PMIC touchscreen driver"); 420MODULE_LICENSE("GPL"); 421MODULE_ALIAS("platform:wm831x-touch"); | 406/* Module information */ 407MODULE_AUTHOR("Mark Brown <broonie@opensource.wolfsonmicro.com>"); 408MODULE_DESCRIPTION("WM831x PMIC touchscreen driver"); 409MODULE_LICENSE("GPL"); 410MODULE_ALIAS("platform:wm831x-touch"); |