From: Cornelia Huck Date: Thu, 26 Mar 2009 14:24:05 +0000 (+0100) Subject: [S390] cio: Use unbind/bind instead of unregister/register. X-Git-Tag: v2.6.30-rc1~659^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb32ae8d0e052d1a287f99f93130ea2ad9af317e;p=pandora-kernel.git [S390] cio: Use unbind/bind instead of unregister/register. The common I/O layer may encounter a situation where the device number of a ccw device has changed or a device driver doesn't want to keep a formerly disconnected device becoming operational again. Instead of using device_del()/ device_add() as now, we can just unbind the driver from the device and rebind it to get the desired effect (rebinding) with less overhead. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed