commit | bcd90cb6928414e14942c01af374863d4049a25d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Dec 29 21:19:20 2019 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Jan 07 16:02:38 2020 -0700 |
tree | a723be66a27d3376b82553841b38a969cc766b5e | |
parent | 04e19ffded40d97502961485a3ce7db6f3d590be [diff] |
dm: core: Export a new function to read platdata Add a new internal function, device_ofdata_to_platdata() to handle allocating private space associated with each device and reading the platform data from the device tree. Call this new function from device_probe(). Signed-off-by: Simon Glass <sjg@chromium.org>