driver core: device_move() fallout.
cover driver core: device_move() fallout.
Hi Greg,
here are two patches that hopefully make device_move() more universally usable:
[1/2] Remove device_is_registered() in device_move(). [2/2] Allow device_move(dev, NULL).
Patches are against your latest git tree. The code works for me, but has not been heavily tested.
Hi Greg,
Quoted 8 lines
here are two patches that hopefully make
device_move()more universally usable:[1/2] Remove
device_is_registered()indevice_move(). [2/2] Allowdevice_move(dev, NULL).Patches are against your latest git tree. The code works for me, but has not been heavily tested.
I tested it with my patch for the Bluetooth RFCOMM layer and it works fine. Please make sure that it gets into 2.6.20 as soon as possible, because the current device_move() is simply broken.
Regards
Marcel