s390/qeth: use IS_* helpers for checking device type
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 25 Apr 2019 16:25:57 +0000 (18:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Apr 2019 15:14:06 +0000 (11:14 -0400)
commit379ac99e5192f98c560b22ae2a3dbaa97c043cc8
tree9fb377b3255290cd0f86a2ba53604067ff630326
parent5c0bfba780ba96a2e656abfa677155c935153aaa
s390/qeth: use IS_* helpers for checking device type

We have helper macros for all possible device types, replace all
remaining open-coded accesses to the type fields.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_core_mpc.h
drivers/s390/net/qeth_core_sys.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3_main.c
drivers/s390/net/qeth_l3_sys.c