commit | 4a26385008e46fb9ca579de2c59da625223065bf | [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 | 2137c240ec6a8d3d47b464477f90fb850e00685d [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>