[S390] cio: Get rid of _ccw_device_get_device_number().
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 10 May 2007 13:45:42 +0000 (15:45 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 10 May 2007 13:45:51 +0000 (15:45 +0200)
commit9a92fe48b92993bb3d20fd7021e22a1ab8a473df
treedcef91794632296444c2ea400aba128c94edb375
parent0b0bb3c6bd66bd28062a71c2ca3878d31e2081ee
[S390] cio: Get rid of _ccw_device_get_device_number().

The function shouldn't have existed in the first place (not MSS-aware).
Introduce a new function ccw_device_get_id() that extracts the
ccw_dev_id structure of a ccw device and convert all users of
_ccw_device_get_device_number to ccw_device_get_id.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd_diag.c
drivers/s390/block/dasd_ioctl.c
drivers/s390/char/raw3270.c
drivers/s390/cio/device_ops.c
include/asm-s390/ccwdev.h