[S390] cio: Use device_is_registered().
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 25 Dec 2008 12:39:11 +0000 (13:39 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 25 Dec 2008 12:39:09 +0000 (13:39 +0100)
commitd6a30761d8116b8de8a5b5e79e68cce81d36414b
tree0b8a95f531f5352833d6915acb43ca46942747bd
parent283fdd0b8ab102080dbffe4bcaae245f9ceda184
[S390] cio: Use device_is_registered().

Check if a ccw device is registered via device_is_registered()
and not via the old kludge of checking the membership in driver
core internal klists.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/device.c