
Hi Simon,
The subject
dm: core: Allow uclasses to specific the platdata for a device's children
Maybe a typo, s/specific/specify/ although English is slightly out of my realm...
On Mon, 19 Jan 2015 20:12:37 -0700 Simon Glass sjg@chromium.org wrote:
In many cases the child platform data for a device's children is defined by the uclass rather than the individual devices. For example, a SPI bus needs to know the chip select and speed for each of its children. It makes sense to allow this information to be defined the SPI uclass rather than each individual driver.
If the device provides a size value for its child platdata, then use it. Failng that, fall back to that provided by the uclass.
Signed-off-by: Simon Glass sjg@chromium.org
The code looks good, so,
Reviewed-by: Masahiro Yamada yamada.m@jp.panasonic.com