Commit b3a962455b106a1677f91c754e5315753c3d44c3

Authored by Russell King
Committed by Russell King
1 parent d7b4a75677

[ARM] Remove SA1100 PM prepare/finish ops

These are empty, unnecessary functions, so remove them.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Showing 1 changed file with 0 additions and 18 deletions Side-by-side Diff

arch/arm/mach-sa1100/pm.c
... ... @@ -135,29 +135,11 @@
135 135 }
136 136  
137 137 /*
138   - * Called after processes are frozen, but before we shut down devices.
139   - */
140   -static int sa11x0_pm_prepare(suspend_state_t state)
141   -{
142   - return 0;
143   -}
144   -
145   -/*
146   - * Called after devices are re-setup, but before processes are thawed.
147   - */
148   -static int sa11x0_pm_finish(suspend_state_t state)
149   -{
150   - return 0;
151   -}
152   -
153   -/*
154 138 * Set to PM_DISK_FIRMWARE so we can quickly veto suspend-to-disk.
155 139 */
156 140 static struct pm_ops sa11x0_pm_ops = {
157 141 .pm_disk_mode = PM_DISK_FIRMWARE,
158   - .prepare = sa11x0_pm_prepare,
159 142 .enter = sa11x0_pm_enter,
160   - .finish = sa11x0_pm_finish,
161 143 };
162 144  
163 145 static int __init sa11x0_pm_init(void)