[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>
This commit is contained in:
committed by
Russell King
parent
d7b4a75677
commit
b3a962455b
@@ -134,30 +134,12 @@ unsigned long sleep_phys_sp(void *sp)
|
|||||||
return virt_to_phys(sp);
|
return virt_to_phys(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.
|
* Set to PM_DISK_FIRMWARE so we can quickly veto suspend-to-disk.
|
||||||
*/
|
*/
|
||||||
static struct pm_ops sa11x0_pm_ops = {
|
static struct pm_ops sa11x0_pm_ops = {
|
||||||
.pm_disk_mode = PM_DISK_FIRMWARE,
|
.pm_disk_mode = PM_DISK_FIRMWARE,
|
||||||
.prepare = sa11x0_pm_prepare,
|
|
||||||
.enter = sa11x0_pm_enter,
|
.enter = sa11x0_pm_enter,
|
||||||
.finish = sa11x0_pm_finish,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init sa11x0_pm_init(void)
|
static int __init sa11x0_pm_init(void)
|
||||||
|
Reference in New Issue
Block a user