da9055_onkey.c (8ed2757edd0c6bacf20c1c55bd53a0acba565be8) da9055_onkey.c (1cb0aa88179b7a71c240529e9d781d7bbb43d2e8)
1/*
2 * ON pin driver for Dialog DA9055 PMICs
3 *
4 * Copyright(c) 2012 Dialog Semiconductor Ltd.
5 *
6 * Author: David Dajun Chen <dchen@diasemi.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 142 unchanged lines hidden (view full) ---

151 cancel_delayed_work_sync(&onkey->work);
152 input_unregister_device(onkey->input);
153
154 return 0;
155}
156
157static struct platform_driver da9055_onkey_driver = {
158 .probe = da9055_onkey_probe,
1/*
2 * ON pin driver for Dialog DA9055 PMICs
3 *
4 * Copyright(c) 2012 Dialog Semiconductor Ltd.
5 *
6 * Author: David Dajun Chen <dchen@diasemi.com>
7 *
8 * This program is free software; you can redistribute it and/or modify it

--- 142 unchanged lines hidden (view full) ---

151 cancel_delayed_work_sync(&onkey->work);
152 input_unregister_device(onkey->input);
153
154 return 0;
155}
156
157static struct platform_driver da9055_onkey_driver = {
158 .probe = da9055_onkey_probe,
159 .remove = __devexit_p(da9055_onkey_remove),
159 .remove = da9055_onkey_remove,
160 .driver = {
161 .name = "da9055-onkey",
162 .owner = THIS_MODULE,
163 },
164};
165
166module_platform_driver(da9055_onkey_driver);
167
168MODULE_AUTHOR("David Dajun Chen <dchen@diasemi.com>");
169MODULE_DESCRIPTION("Onkey driver for DA9055");
170MODULE_LICENSE("GPL");
171MODULE_ALIAS("platform:da9055-onkey");
160 .driver = {
161 .name = "da9055-onkey",
162 .owner = THIS_MODULE,
163 },
164};
165
166module_platform_driver(da9055_onkey_driver);
167
168MODULE_AUTHOR("David Dajun Chen <dchen@diasemi.com>");
169MODULE_DESCRIPTION("Onkey driver for DA9055");
170MODULE_LICENSE("GPL");
171MODULE_ALIAS("platform:da9055-onkey");