]> Git Repo - J-u-boot.git/commit
misc: imx8: scu: use platdata instead of priv data
authorPeng Fan <[email protected]>
Sat, 15 Dec 2018 12:19:52 +0000 (12:19 +0000)
committerStefano Babic <[email protected]>
Wed, 9 Jan 2019 16:04:03 +0000 (17:04 +0100)
commit026381fc5a06cdc3e41a6bae83486be6cbaae0a9
treef418d8d99ac88a13716cdcfdc43f7557c8e92538
parentecab65e4cdec0ee408ca1ac9d0b06d2793fdae91
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/misc/imx8/scu.c
This page took 0.034181 seconds and 4 git commands to generate.