diff options
author | Julian Wiedmann | 2019-06-27 17:01:30 +0200 |
---|---|---|
committer | David S. Miller | 2019-06-27 19:18:24 +0200 |
commit | c4733c32ca2272b8c11663fc1ad6264d2ee42384 (patch) | |
tree | df81f3d40aae3a60726e6ecc778a681a4bb4291a /drivers/s390/net/qeth_core.h | |
parent | s390/qeth: streamline SNMP cmd code (diff) | |
download | kernel-qcow2-linux-c4733c32ca2272b8c11663fc1ad6264d2ee42384.tar.gz kernel-qcow2-linux-c4733c32ca2272b8c11663fc1ad6264d2ee42384.tar.xz kernel-qcow2-linux-c4733c32ca2272b8c11663fc1ad6264d2ee42384.zip |
s390/qeth: consolidate pm code
De-duplicate the pm callback implementations from the two sub-drivers,
replacing them with core helpers that delegate to the .set_online and
.set_offline callbacks.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 715bff28d48e..c81d5ec26803 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -713,9 +713,6 @@ struct qeth_discipline { void (*remove) (struct ccwgroup_device *); int (*set_online) (struct ccwgroup_device *); int (*set_offline) (struct ccwgroup_device *); - int (*freeze)(struct ccwgroup_device *); - int (*thaw) (struct ccwgroup_device *); - int (*restore)(struct ccwgroup_device *); int (*do_ioctl)(struct net_device *dev, struct ifreq *rq, int cmd); int (*control_event_handler)(struct qeth_card *card, struct qeth_ipa_cmd *cmd); |