Commit eb32ae8d authored by Committed by Martin SchwidefskyBrowse files
[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 <email@example.com> Signed-off-by: Martin Schwidefsky <firstname.lastname@example.org>
Showing with 10 additions and 23 deletions