diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2006-06-29 08:56:52 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-06-29 08:56:52 -0400 |
commit | 887ab5992925736ab23985c35f8149739e9de354 (patch) | |
tree | 5979c930c1ba34341e04e541f98b0584c58ac62b /drivers/s390/cio/device.h | |
parent | 231caa1cac555bdd5cb64bf91b554b38e8ddf715 (diff) |
[S390] ccwgroup device unregister.
Work around the problem that a device cannot be unregistered from
driver_for_each_device() because of klist node refcounting: Get device
after device owned by the driver to be unregistered with driver_find_device()
and then unregister it. This works because driver_get_device() gets us out of
the region of the elevated klist node refcount. driver_find_device() will
always get the next device in the list after the found one has been
unregistered.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device.h')
0 files changed, 0 insertions, 0 deletions