retu-pwrbutton.c (544a46c917fcf0a439cc0c428d76ba731a380cae) | retu-pwrbutton.c (1cb0aa88179b7a71c240529e9d781d7bbb43d2e8) |
---|---|
1/* 2 * Retu power button driver. 3 * 4 * Copyright (C) 2004-2010 Nokia Corporation 5 * 6 * Original code written by Ari Saastamoinen, Juha Yrjölä and Felipe Balbi. 7 * Rewritten by Aaro Koskinen. 8 * --- 69 unchanged lines hidden (view full) --- 78 79static int __devexit retu_pwrbutton_remove(struct platform_device *pdev) 80{ 81 return 0; 82} 83 84static struct platform_driver retu_pwrbutton_driver = { 85 .probe = retu_pwrbutton_probe, | 1/* 2 * Retu power button driver. 3 * 4 * Copyright (C) 2004-2010 Nokia Corporation 5 * 6 * Original code written by Ari Saastamoinen, Juha Yrjölä and Felipe Balbi. 7 * Rewritten by Aaro Koskinen. 8 * --- 69 unchanged lines hidden (view full) --- 78 79static int __devexit retu_pwrbutton_remove(struct platform_device *pdev) 80{ 81 return 0; 82} 83 84static struct platform_driver retu_pwrbutton_driver = { 85 .probe = retu_pwrbutton_probe, |
86 .remove = __devexit_p(retu_pwrbutton_remove), | 86 .remove = retu_pwrbutton_remove, |
87 .driver = { 88 .name = "retu-pwrbutton", 89 .owner = THIS_MODULE, 90 }, 91}; 92module_platform_driver(retu_pwrbutton_driver); 93 94MODULE_ALIAS("platform:retu-pwrbutton"); 95MODULE_DESCRIPTION("Retu Power Button"); 96MODULE_AUTHOR("Ari Saastamoinen"); 97MODULE_AUTHOR("Felipe Balbi"); 98MODULE_AUTHOR("Aaro Koskinen <aaro.koskinen@iki.fi>"); 99MODULE_LICENSE("GPL"); | 87 .driver = { 88 .name = "retu-pwrbutton", 89 .owner = THIS_MODULE, 90 }, 91}; 92module_platform_driver(retu_pwrbutton_driver); 93 94MODULE_ALIAS("platform:retu-pwrbutton"); 95MODULE_DESCRIPTION("Retu Power Button"); 96MODULE_AUTHOR("Ari Saastamoinen"); 97MODULE_AUTHOR("Felipe Balbi"); 98MODULE_AUTHOR("Aaro Koskinen <aaro.koskinen@iki.fi>"); 99MODULE_LICENSE("GPL"); |