]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add functions to find parent and OF data
authorSimon Glass <sjg@chromium.org>
Tue, 11 Nov 2014 17:46:19 +0000 (10:46 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 22 Nov 2014 09:16:47 +0000 (10:16 +0100)
commit479728cb0c752a121e0fd84c6c6d74e93e086905
tree845ec0bba9e72511b1d07522f0cdb89d29b3a65b
parent2ef249b4420818d7ea31a031f48825e5f38ed3ac
dm: core: Add functions to find parent and OF data

Add dev_get_parent() as a convenience to obtain the parent of a device.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/core/device.c
include/dm/device.h