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:
Родитель
b09fcecb6c
Коммит
194f75706b
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче