From: Cornelia Huck Date: Thu, 29 Jun 2006 12:56:52 +0000 (+0200) Subject: [S390] ccwgroup device unregister. X-Git-Tag: v2.6.18-rc1~360^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=887ab5992925736ab23985c35f8149739e9de354;p=pandora-kernel.git [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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed