Cornelia Huck c744aeae9d 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 <cornelia.huck@de.ibm.com>
Cc: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-02-07 10:37:11 -08:00
..
2006-12-08 08:28:39 -08:00
2006-12-15 08:47:51 -08:00
2006-12-07 08:39:25 -08:00
2006-12-13 09:05:52 -08:00
2006-12-13 09:05:52 -08:00
2006-12-15 08:47:51 -08:00
2006-12-20 10:56:43 -08:00
2006-12-13 09:05:52 -08:00
2006-12-04 02:00:22 -05:00