dm: convert device_get_global_by_of_offset() to device_get_global_by_ofnode()
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 9 Aug 2018 14:17:44 +0000 (16:17 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 21 Aug 2018 14:21:37 +0000 (16:21 +0200)
commit7ec9181d6a2b68480a289c36e5729487f2a4add1
treea265db6ad852b08e4605bff1df3680d8621b0fd5
parent999b204383ffb4eee1467604a935ed3a670c460e
dm: convert device_get_global_by_of_offset() to device_get_global_by_ofnode()

Also add device_find_global_by_ofnode() that also find a device based on
the OF node, but doesn't probe the device.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
arch/arm/mach-rockchip/rk3188-board-spl.c
arch/arm/mach-rockchip/rk3288-board-spl.c
drivers/core/device.c
include/dm/device.h