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
..
2005-10-18 08:26:15 -07:00
2006-12-08 08:28:39 -08:00
2006-06-25 10:01:20 -07:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-15 08:47:51 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-07 08:39:25 -08:00
2006-06-20 20:24:58 -07:00
2006-12-13 09:05:52 -08:00
2006-10-06 08:53:40 -07: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-06-25 10:01:09 -07:00
2006-12-13 09:05:52 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-04 02:00:22 -05:00
2005-06-25 16:25:02 -07:00
2006-10-03 08:03:41 -07:00
2006-11-30 05:32:19 +01:00
2006-06-28 17:09:34 -07:00