pmic8xxx-keypad.c (d4bbf7e7759afc172e2bfbc5c416324590049cdd) | pmic8xxx-keypad.c (5146c84f87c8aa3d115cea0d77ed3553df426752) |
---|---|
1/* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved. 2 * 3 * This program is free software; you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License version 2 and 5 * only version 2 as published by the Free Software Foundation. 6 * 7 * This program is distributed in the hope that it will be useful, 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of --- 766 unchanged lines hidden (view full) --- 775 .probe = pmic8xxx_kp_probe, 776 .remove = __devexit_p(pmic8xxx_kp_remove), 777 .driver = { 778 .name = PM8XXX_KEYPAD_DEV_NAME, 779 .owner = THIS_MODULE, 780 .pm = &pm8xxx_kp_pm_ops, 781 }, 782}; | 1/* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved. 2 * 3 * This program is free software; you can redistribute it and/or modify 4 * it under the terms of the GNU General Public License version 2 and 5 * only version 2 as published by the Free Software Foundation. 6 * 7 * This program is distributed in the hope that it will be useful, 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of --- 766 unchanged lines hidden (view full) --- 775 .probe = pmic8xxx_kp_probe, 776 .remove = __devexit_p(pmic8xxx_kp_remove), 777 .driver = { 778 .name = PM8XXX_KEYPAD_DEV_NAME, 779 .owner = THIS_MODULE, 780 .pm = &pm8xxx_kp_pm_ops, 781 }, 782}; |
783module_platform_driver(pmic8xxx_kp_driver); |
|
783 | 784 |
784static int __init pmic8xxx_kp_init(void) 785{ 786 return platform_driver_register(&pmic8xxx_kp_driver); 787} 788module_init(pmic8xxx_kp_init); 789 790static void __exit pmic8xxx_kp_exit(void) 791{ 792 platform_driver_unregister(&pmic8xxx_kp_driver); 793} 794module_exit(pmic8xxx_kp_exit); 795 | |
796MODULE_LICENSE("GPL v2"); 797MODULE_DESCRIPTION("PMIC8XXX keypad driver"); 798MODULE_VERSION("1.0"); 799MODULE_ALIAS("platform:pmic8xxx_keypad"); 800MODULE_AUTHOR("Trilok Soni <tsoni@codeaurora.org>"); | 785MODULE_LICENSE("GPL v2"); 786MODULE_DESCRIPTION("PMIC8XXX keypad driver"); 787MODULE_VERSION("1.0"); 788MODULE_ALIAS("platform:pmic8xxx_keypad"); 789MODULE_AUTHOR("Trilok Soni <tsoni@codeaurora.org>"); |