dm: core: Adjust device_bind_common() to take an ofnode
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 23:18:11 +0000 (17:18 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:04 +0000 (07:03 -0600)
commit7a61b0b58f560ec0c29cbfa276aa938f76ea06b3
treed084eac0e2de805770bb67639356e166fefba036
parent4984de2baaaf82bfc9416e9cdbd3040b97856950
dm: core: Adjust device_bind_common() to take an ofnode

This core function will need to work with a live tree also. Update it to
accept an ofnode instead of an offset.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c