commit | b57e4cc7b1f1a735684d353fc5178613f649e3e3 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Sat Dec 15 12:19:52 2018 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Wed Jan 09 17:04:03 2019 +0100 |
tree | f418d8d99ac88a13716cdcfdc43f7557c8e92538 | |
parent | 927a3dcd5bd65c516338d8dc1b2ac797af081234 [diff] |
misc: imx8: scu: use platdata instead of priv data priv data has not been allocated when doing bind, so it is wrong to use dev_get_priv in bind call back. Let's switch to use platdata in the driver to fix the issue. Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org>