mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
s390/ism: remove pm support
As s390 no longer supports ARCH_HIBERNATION_POSSIBLE, drop the unused pm ops from the ism driver. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
b09fcecb6c
commit
194f75706b
1 changed files with 0 additions and 20 deletions
|
@ -567,31 +567,11 @@ static void ism_remove(struct pci_dev *pdev)
|
|||
kfree(ism);
|
||||
}
|
||||
|
||||
static int ism_suspend(struct device *dev)
|
||||
{
|
||||
struct ism_dev *ism = dev_get_drvdata(dev);
|
||||
|
||||
ism_dev_exit(ism);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int ism_resume(struct device *dev)
|
||||
{
|
||||
struct ism_dev *ism = dev_get_drvdata(dev);
|
||||
|
||||
return ism_dev_init(ism);
|
||||
}
|
||||
|
||||
static SIMPLE_DEV_PM_OPS(ism_pm_ops, ism_suspend, ism_resume);
|
||||
|
||||
static struct pci_driver ism_driver = {
|
||||
.name = DRV_NAME,
|
||||
.id_table = ism_device_table,
|
||||
.probe = ism_probe,
|
||||
.remove = ism_remove,
|
||||
.driver = {
|
||||
.pm = &ism_pm_ops,
|
||||
},
|
||||
};
|
||||
|
||||
static int __init ism_init(void)
|
||||
|
|
Loading…
Reference in a new issue