summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2013-01-30 06:28:13 -0500
committerAnton Vorontsov <anton@enomsg.org>2013-02-02 22:41:29 -0500
commit60a1c4d41b3af91366bcb2a52b30b2050a48273e (patch)
tree1598dd7282f80361b9e38927ba78db3ab52fb5ce /drivers/power
parentf96b3074ecfedf74b137dc2cc00dccbf479d2713 (diff)
power/reset: Remove newly introduced __dev* annotations
__devinit, __devexit and __devexit_p have recently been removed and should no longer be used. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Jason Cooper <jason@lakedaemon.net> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/reset/restart-poweroff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/reset/restart-poweroff.c b/drivers/power/reset/restart-poweroff.c
index b11b9e887174..059cd1501e2a 100644
--- a/drivers/power/reset/restart-poweroff.c
+++ b/drivers/power/reset/restart-poweroff.c
@@ -22,7 +22,7 @@ static void restart_poweroff_do_poweroff(void)
22 arm_pm_restart('h', NULL); 22 arm_pm_restart('h', NULL);
23} 23}
24 24
25static int __devinit restart_poweroff_probe(struct platform_device *pdev) 25static int restart_poweroff_probe(struct platform_device *pdev)
26{ 26{
27 /* If a pm_power_off function has already been added, leave it alone */ 27 /* If a pm_power_off function has already been added, leave it alone */
28 if (pm_power_off != NULL) { 28 if (pm_power_off != NULL) {
@@ -35,7 +35,7 @@ static int __devinit restart_poweroff_probe(struct platform_device *pdev)
35 return 0; 35 return 0;
36} 36}
37 37
38static int __devexit restart_poweroff_remove(struct platform_device *pdev) 38static int restart_poweroff_remove(struct platform_device *pdev)
39{ 39{
40 if (pm_power_off == &restart_poweroff_do_poweroff) 40 if (pm_power_off == &restart_poweroff_do_poweroff)
41 pm_power_off = NULL; 41 pm_power_off = NULL;
@@ -50,7 +50,7 @@ static const struct of_device_id of_restart_poweroff_match[] = {
50 50
51static struct platform_driver restart_poweroff_driver = { 51static struct platform_driver restart_poweroff_driver = {
52 .probe = restart_poweroff_probe, 52 .probe = restart_poweroff_probe,
53 .remove = __devexit_p(restart_poweroff_remove), 53 .remove = restart_poweroff_remove,
54 .driver = { 54 .driver = {
55 .name = "poweroff-restart", 55 .name = "poweroff-restart",
56 .owner = THIS_MODULE, 56 .owner = THIS_MODULE,