omap4-keypad.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) | omap4-keypad.c (5146c84f87c8aa3d115cea0d77ed3553df426752) |
---|---|
1/* 2 * OMAP4 Keypad Driver 3 * 4 * Copyright (C) 2010 Texas Instruments 5 * 6 * Author: Abraham Arce <x0066660@ti.com> 7 * Initial Code: Syed Rafiuddin <rafiuddin.syed@ti.com> 8 * --- 321 unchanged lines hidden (view full) --- 330static struct platform_driver omap4_keypad_driver = { 331 .probe = omap4_keypad_probe, 332 .remove = __devexit_p(omap4_keypad_remove), 333 .driver = { 334 .name = "omap4-keypad", 335 .owner = THIS_MODULE, 336 }, 337}; | 1/* 2 * OMAP4 Keypad Driver 3 * 4 * Copyright (C) 2010 Texas Instruments 5 * 6 * Author: Abraham Arce <x0066660@ti.com> 7 * Initial Code: Syed Rafiuddin <rafiuddin.syed@ti.com> 8 * --- 321 unchanged lines hidden (view full) --- 330static struct platform_driver omap4_keypad_driver = { 331 .probe = omap4_keypad_probe, 332 .remove = __devexit_p(omap4_keypad_remove), 333 .driver = { 334 .name = "omap4-keypad", 335 .owner = THIS_MODULE, 336 }, 337}; |
338module_platform_driver(omap4_keypad_driver); |
|
338 | 339 |
339static int __init omap4_keypad_init(void) 340{ 341 return platform_driver_register(&omap4_keypad_driver); 342} 343module_init(omap4_keypad_init); 344 345static void __exit omap4_keypad_exit(void) 346{ 347 platform_driver_unregister(&omap4_keypad_driver); 348} 349module_exit(omap4_keypad_exit); 350 | |
351MODULE_AUTHOR("Texas Instruments"); 352MODULE_DESCRIPTION("OMAP4 Keypad Driver"); 353MODULE_LICENSE("GPL"); 354MODULE_ALIAS("platform:omap4-keypad"); | 340MODULE_AUTHOR("Texas Instruments"); 341MODULE_DESCRIPTION("OMAP4 Keypad Driver"); 342MODULE_LICENSE("GPL"); 343MODULE_ALIAS("platform:omap4-keypad"); |