[U-Boot] [PATCH 3/5] misc: imx8: scu: use platdata instead of priv data

Simon Glass sjg at chromium.org
Sat Jan 5 01:56:46 UTC 2019


On Sat, 15 Dec 2018 at 05:22, Peng Fan <peng.fan at nxp.com> wrote:
>
> +Simon
>
> > -----Original Message-----
> > From: Peng Fan
> > Sent: 2018年12月15日 20:20
> > To: sbabic at denx.de
> > Cc: Fabio Estevam <fabio.estevam at nxp.com>; u-boot at lists.denx.de;
> > dl-uboot-imx <uboot-imx at nxp.com>; Peng Fan <peng.fan at nxp.com>
> > Subject: [PATCH 3/5] 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 at nxp.com>
> > ---
> >  drivers/misc/imx8/scu.c | 26 +++++++++++++-------------
> >  1 file changed, 13 insertions(+), 13 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list