diff options
author | Simon Glass | 2020-01-27 08:49:53 -0700 |
---|---|---|
committer | Simon Glass | 2020-02-05 19:33:46 -0700 |
commit | eb7387ae14ef88ecba85d569de978da776ea4f09 (patch) | |
tree | 322647ee00bba89ef97d1b5b19f137aac4d572e3 /doc | |
parent | b83994dec7addcd5fecd0bfd2f734223eb0462f0 (diff) |
sandbox: pmic: Correct i2c pmic emulator platdata method
This currently reads the uclass's private data in the ofdata_to_platdata
method which is not allowed, since the uclass has not read it from the
device tree. This happens in the probe method.
Fix it by adding a probe() method and moving the code there.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions