Skip to content

Commit

Permalink
ARM: OMAP: Remove old PM_SUSPEND_DISK
Browse files Browse the repository at this point in the history
Remove old PM_SUSPEND_DISK. Also some minor cosmetic
clean-up.

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed May 10, 2007
1 parent 0695de3 commit d30c736
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions arch/arm/mach-omap1/pm.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
//kernel/linux-omap-fsample/arch/arm/mach-omap1/pm.c#3 - integrate change 4545 (text)
/*
* linux/arch/arm/mach-omap1/pm.c
*
Expand Down Expand Up @@ -377,7 +376,7 @@ void omap_pm_suspend(void)
* Jump to assembly code. The processor will stay there
* until wake up.
*/
omap_sram_suspend(arg0, arg1);
omap_sram_suspend(arg0, arg1);

/*
* If we are here, processor is woken up!
Expand Down Expand Up @@ -631,10 +630,6 @@ static int omap_pm_prepare(suspend_state_t state)
case PM_SUSPEND_STANDBY:
case PM_SUSPEND_MEM:
break;

case PM_SUSPEND_DISK:
return -ENOTSUPP;

default:
return -EINVAL;
}
Expand All @@ -657,10 +652,6 @@ static int omap_pm_enter(suspend_state_t state)
case PM_SUSPEND_MEM:
omap_pm_suspend();
break;

case PM_SUSPEND_DISK:
return -ENOTSUPP;

default:
return -EINVAL;
}
Expand Down

0 comments on commit d30c736

Please sign in to comment.