]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: core: Allow parents to pass data to children during probe
authorSimon Glass <sjg@chromium.org>
Tue, 14 Oct 2014 05:41:50 +0000 (23:41 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:46 +0000 (10:36 -0600)
Buses sometimes want to pass data to their children when they are probed.
For example, a SPI bus may want to tell the slave device about the chip
select it is connected to.

Add a new function to permit the parent data to be supplied to the child.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>

No differences found