cobalt_btns.c (7a9787e1eba95a166265e6a260cf30af04ef0a99) | cobalt_btns.c (ada8e9514b5880f81cdbbd212d121380ceef7acc) |
---|---|
1/* 2 * Cobalt button interface driver. 3 * | 1/* 2 * Cobalt button interface driver. 3 * |
4 * Copyright (C) 2007-2008 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> | 4 * Copyright (C) 2007-2008 Yoichi Yuasa <yuasa@linux-mips.org> |
5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of --- 130 unchanged lines hidden (view full) --- 143 input_free_polled_device(bdev->poll_dev); 144 iounmap(bdev->reg); 145 kfree(bdev); 146 dev_set_drvdata(dev, NULL); 147 148 return 0; 149} 150 | 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of --- 130 unchanged lines hidden (view full) --- 143 input_free_polled_device(bdev->poll_dev); 144 iounmap(bdev->reg); 145 kfree(bdev); 146 dev_set_drvdata(dev, NULL); 147 148 return 0; 149} 150 |
151MODULE_AUTHOR("Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>"); | 151MODULE_AUTHOR("Yoichi Yuasa <yuasa@linux-mips.org>"); |
152MODULE_DESCRIPTION("Cobalt button interface driver"); 153MODULE_LICENSE("GPL"); 154/* work with hotplug and coldplug */ 155MODULE_ALIAS("platform:Cobalt buttons"); 156 157static struct platform_driver cobalt_buttons_driver = { 158 .probe = cobalt_buttons_probe, 159 .remove = __devexit_p(cobalt_buttons_remove), --- 18 unchanged lines hidden --- | 152MODULE_DESCRIPTION("Cobalt button interface driver"); 153MODULE_LICENSE("GPL"); 154/* work with hotplug and coldplug */ 155MODULE_ALIAS("platform:Cobalt buttons"); 156 157static struct platform_driver cobalt_buttons_driver = { 158 .probe = cobalt_buttons_probe, 159 .remove = __devexit_p(cobalt_buttons_remove), --- 18 unchanged lines hidden --- |