dm: core: Allow binding a device from a live tree
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:05 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:08 +0000 (07:03 -0600)
commit396e343b3d03e3773edf4a39f49c7918d4b8ff91
treeac38ebc93c2b49338cc7161f5e9ffbe2a461e9a8
parent47a0fd3bad3858ae2f58bc3b3368e16ed20f394c
dm: core: Allow binding a device from a live tree

When a live tree is being used we need to record the node that was used to
create the device. Update device_bind_with_driver_data() to support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
drivers/core/lists.c
include/dm/device-internal.h