Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350654
b: refs/heads/master
c: 60a1c4d
h: refs/heads/master
v: v3
  • Loading branch information
Thierry Reding authored and Anton Vorontsov committed Feb 3, 2013
1 parent f74c641 commit ae21824
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f96b3074ecfedf74b137dc2cc00dccbf479d2713
refs/heads/master: 60a1c4d41b3af91366bcb2a52b30b2050a48273e
6 changes: 3 additions & 3 deletions trunk/drivers/power/reset/restart-poweroff.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static void restart_poweroff_do_poweroff(void)
arm_pm_restart('h', NULL);
}

static int __devinit restart_poweroff_probe(struct platform_device *pdev)
static int restart_poweroff_probe(struct platform_device *pdev)
{
/* If a pm_power_off function has already been added, leave it alone */
if (pm_power_off != NULL) {
Expand All @@ -35,7 +35,7 @@ static int __devinit restart_poweroff_probe(struct platform_device *pdev)
return 0;
}

static int __devexit restart_poweroff_remove(struct platform_device *pdev)
static int restart_poweroff_remove(struct platform_device *pdev)
{
if (pm_power_off == &restart_poweroff_do_poweroff)
pm_power_off = NULL;
Expand All @@ -50,7 +50,7 @@ static const struct of_device_id of_restart_poweroff_match[] = {

static struct platform_driver restart_poweroff_driver = {
.probe = restart_poweroff_probe,
.remove = __devexit_p(restart_poweroff_remove),
.remove = restart_poweroff_remove,
.driver = {
.name = "poweroff-restart",
.owner = THIS_MODULE,
Expand Down

0 comments on commit ae21824

Please sign in to comment.