commit | 026381fc5a06cdc3e41a6bae83486be6cbaae0a9 | [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 | ecab65e4cdec0ee408ca1ac9d0b06d2793fdae91 [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>