s390/cio: remove subchannel_id from ccw_device_private
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 29 Jul 2016 08:43:53 +0000 (10:43 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 8 Aug 2016 13:41:33 +0000 (15:41 +0200)
commit1ab50a99f8cc6f4d761421d55a4044ad7f185cb5
tree9354c5b3828faa415954c15de874cd0ff5ad0f2e
parent9080c92494f0d7e2bca1197bbddcc417117057c3
s390/cio: remove subchannel_id from ccw_device_private

A copy of struct subchannel_id is maintained in ccw_device_private.
The subchannel id is a property of the subchannel. The additional
copy is not needed.

Internal users can obtain it from subchannel.schid - device drivers
can use ccw_device_get_schid().

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device.c
drivers/s390/cio/io_sch.h