s390/qeth: reduce hard-coded access to ccw channels
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 9 Aug 2018 12:47:59 +0000 (14:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 21:02:50 +0000 (14:02 -0700)
commit750b162598ec5b65cdb44d18f050b45cb7f8d31b
tree142fdfd1d092254a18c00d7156c26321d4ec0a9f
parent73657a3e5b0de69ccdabed0e340dcbbc99f46119
s390/qeth: reduce hard-coded access to ccw channels

Where possible use accessor macros and local pointers to access the ccw
channels. This makes it less likely to miss a spot.

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