Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56662
b: refs/heads/master
c: 9d7b667
h: refs/heads/master
v: v3
  • Loading branch information
Bryan Wu authored and Linus Torvalds committed May 21, 2007
1 parent 4f9f11a commit e8de395
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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: c4d1889f7be0a7f34d29e5c4ce00a2b4b78ebb26
refs/heads/master: 9d7b6677ac35fdfee93e8f50589e04bcc95649c1
12 changes: 2 additions & 10 deletions trunk/arch/blackfin/mach-common/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,8 @@ static int bfin_pm_prepare(suspend_state_t state)
switch (state) {
case PM_SUSPEND_STANDBY:
break;
case PM_SUSPEND_MEM:
return -ENOTSUPP;

case PM_SUSPEND_DISK:
case PM_SUSPEND_MEM:
return -ENOTSUPP;

default:
Expand All @@ -126,10 +124,8 @@ static int bfin_pm_enter(suspend_state_t state)
case PM_SUSPEND_STANDBY:
bfin_pm_suspend_standby_enter();
break;
case PM_SUSPEND_MEM:
return -ENOTSUPP;

case PM_SUSPEND_DISK:
case PM_SUSPEND_MEM:
return -ENOTSUPP;

default:
Expand All @@ -155,9 +151,6 @@ static int bfin_pm_finish(suspend_state_t state)
case PM_SUSPEND_MEM:
return -ENOTSUPP;

case PM_SUSPEND_DISK:
return -ENOTSUPP;

default:
return -EINVAL;
}
Expand All @@ -166,7 +159,6 @@ static int bfin_pm_finish(suspend_state_t state)
}

struct pm_ops bfin_pm_ops = {
.pm_disk_mode = PM_DISK_PLATFORM,
.prepare = bfin_pm_prepare,
.enter = bfin_pm_enter,
.finish = bfin_pm_finish,
Expand Down

0 comments on commit e8de395

Please sign in to comment.