|author||Cornelia Huck <email@example.com>||2007-01-08 20:16:44 +0100|
|committer||Greg Kroah-Hartman <firstname.lastname@example.org>||2007-02-07 10:37:11 -0800|
|parent||driver core: Remove device_is_registered() in device_move(). (diff)|
driver core: Allow device_move(dev, NULL).
If we allow NULL as the new parent in device_move(), we need to make sure that the device is placed into the same place as it would if it was newly registered: - Consider the device virtual tree. In order to be able to reuse code, setup_parent() has been tweaked a bit. - kobject_move() can fall back to the kset's kobject. - sysfs_move_dir() uses the sysfs root dir as fallback. Signed-off-by: Cornelia Huck <email@example.com> Cc: Marcel Holtmann <firstname.lastname@example.org> Signed-off-by: Greg Kroah-Hartman <email@example.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions