Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173744
b: refs/heads/master
c: b42aece
h: refs/heads/master
v: v3
  • Loading branch information
Swen Schillig authored and James Bottomley committed Dec 4, 2009
1 parent 990200a commit d6a8d07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: de3dc57214a1466034ecc4d4ffb10331d34c09a3
refs/heads/master: b42aeceb35c59484056b0eea81203a0911ebb50d
18 changes: 1 addition & 17 deletions trunk/drivers/s390/scsi/zfcp_ccw.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,6 @@ void zfcp_ccw_adapter_put(struct zfcp_adapter *adapter)
spin_unlock_irqrestore(&zfcp_ccw_adapter_ref_lock, flags);
}

static int zfcp_ccw_suspend(struct ccw_device *cdev)

{
struct zfcp_adapter *adapter = zfcp_ccw_adapter_by_cdev(cdev);

if (!adapter)
return 0;

zfcp_erp_adapter_shutdown(adapter, 0, "ccsusp1", NULL);
zfcp_erp_wait(adapter);

zfcp_ccw_adapter_put(adapter);

return 0;
}

static int zfcp_ccw_activate(struct ccw_device *cdev)

{
Expand Down Expand Up @@ -291,7 +275,7 @@ struct ccw_driver zfcp_ccw_driver = {
.set_offline = zfcp_ccw_set_offline,
.notify = zfcp_ccw_notify,
.shutdown = zfcp_ccw_shutdown,
.freeze = zfcp_ccw_suspend,
.freeze = zfcp_ccw_set_offline,
.thaw = zfcp_ccw_activate,
.restore = zfcp_ccw_activate,
};
Expand Down

0 comments on commit d6a8d07

Please sign in to comment.