dm: core: Move ofdata_to_platdata() call earlier
This method is supposed to extract platform data from the device tree. It
should be done before the device itself is probed. Move it earlier in the
device_probe() function.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录