Name

device_move — moves a device to a new parent

Synopsis

int device_move (struct device *  dev,
 struct device *  new_parent);

Arguments

dev

the pointer to the struct device to be moved

new_parent

the new parent of the device (can by NULL)