[ARM] Remove SA1100 PM prepare/finish ops
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 4 Jan 2006 15:55:41 +0000 (15:55 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 4 Jan 2006 15:55:41 +0000 (15:55 +0000)
These are empty, unnecessary functions, so remove them.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/pm.c

index 59c7964..786c853 100644 (file)
@@ -135,29 +135,11 @@ unsigned long sleep_phys_sp(void *sp)
 }
 
 /*
- * Called after processes are frozen, but before we shut down devices.
- */
-static int sa11x0_pm_prepare(suspend_state_t state)
-{
-       return 0;
-}
-
-/*
- * Called after devices are re-setup, but before processes are thawed.
- */
-static int sa11x0_pm_finish(suspend_state_t state)
-{
-       return 0;
-}
-
-/*
  * Set to PM_DISK_FIRMWARE so we can quickly veto suspend-to-disk.
  */
 static struct pm_ops sa11x0_pm_ops = {
        .pm_disk_mode   = PM_DISK_FIRMWARE,
-       .prepare        = sa11x0_pm_prepare,
        .enter          = sa11x0_pm_enter,
-       .finish         = sa11x0_pm_finish,
 };
 
 static int __init sa11x0_pm_init(void)