stmpe-keypad.c (2d8ad8719591fa803b0d589ed057fa46f49b7155) | stmpe-keypad.c (5146c84f87c8aa3d115cea0d77ed3553df426752) |
---|---|
1/* 2 * Copyright (C) ST-Ericsson SA 2010 3 * 4 * License Terms: GNU General Public License, version 2 5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 6 */ 7 8#include <linux/module.h> --- 354 unchanged lines hidden (view full) --- 363} 364 365static struct platform_driver stmpe_keypad_driver = { 366 .driver.name = "stmpe-keypad", 367 .driver.owner = THIS_MODULE, 368 .probe = stmpe_keypad_probe, 369 .remove = __devexit_p(stmpe_keypad_remove), 370}; | 1/* 2 * Copyright (C) ST-Ericsson SA 2010 3 * 4 * License Terms: GNU General Public License, version 2 5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 6 */ 7 8#include <linux/module.h> --- 354 unchanged lines hidden (view full) --- 363} 364 365static struct platform_driver stmpe_keypad_driver = { 366 .driver.name = "stmpe-keypad", 367 .driver.owner = THIS_MODULE, 368 .probe = stmpe_keypad_probe, 369 .remove = __devexit_p(stmpe_keypad_remove), 370}; |
371module_platform_driver(stmpe_keypad_driver); |
|
371 | 372 |
372static int __init stmpe_keypad_init(void) 373{ 374 return platform_driver_register(&stmpe_keypad_driver); 375} 376module_init(stmpe_keypad_init); 377 378static void __exit stmpe_keypad_exit(void) 379{ 380 platform_driver_unregister(&stmpe_keypad_driver); 381} 382module_exit(stmpe_keypad_exit); 383 | |
384MODULE_LICENSE("GPL v2"); 385MODULE_DESCRIPTION("STMPExxxx keypad driver"); 386MODULE_AUTHOR("Rabin Vincent <rabin.vincent@stericsson.com>"); | 373MODULE_LICENSE("GPL v2"); 374MODULE_DESCRIPTION("STMPExxxx keypad driver"); 375MODULE_AUTHOR("Rabin Vincent <rabin.vincent@stericsson.com>"); |