commit | f8a85449ef3e0963add728815771ccc09aa99875 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jan 25 08:27:00 2015 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Jan 29 17:09:54 2015 -0700 |
tree | dff087eeb955e883a0e12f597acdc734961bdb4c | |
parent | 72ebfe86fac2ca0a0e1af9fe1eaa3a634e3e17a1 [diff] |
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: Simon Glass <sjg@chromium.org> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>