]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Update device_bind_driver_to_node() to use ofnode
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:07 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:08 +0000 (07:03 -0600)
commit45a26867e8158d0338ba5b99d21989a72d423209
tree76f30778dcb4a8d50eeea20e2bc68d2ab731c41c
parentf5b5719cdf13f3ee1ae949a3bcffafb6431eead4
dm: core: Update device_bind_driver_to_node() to use ofnode

Adjust this function to us an ofnode instead of an offset, so it can be
used with livetree. This involves updating all callers.

Signed-off-by: Simon Glass <sjg@chromium.org>
14 files changed:
drivers/clk/at91/pmc.c
drivers/core/lists.c
drivers/cpu/cpu-uclass.c
drivers/i2c/muxes/i2c-mux-uclass.c
drivers/led/led_bcm6328.c
drivers/led/led_bcm6358.c
drivers/led/led_gpio.c
drivers/misc/tegra186_bpmp.c
drivers/misc/tegra_car.c
drivers/net/keystone_net.c
drivers/pinctrl/pinctrl-uclass.c
drivers/usb/musb-new/ti-musb.c
include/dm.h
include/dm/lists.h