Skip to content
Snippets Groups Projects
Commit f8a85449 authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Allocate platform data when binding a device


When using allocated platform data, allocate it when we bind the device.
This makes it possible to fill in this information before the device is
probed.

This fits with the platform data model (when not using device tree),
since platform data exists at bind-time.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent 72ebfe86
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment