[U-Boot] [PATCH v2 1/2] spi: imx: remove doubled pointer from

sbabic at denx.de sbabic at denx.de
Mon Jun 10 09:40:12 UTC 2019

> in mxc_spi_probe() plat and mxcs pointer are created:
> struct mxc_spi_slave *plat = bus->platdata;
> struct mxc_spi_slave *mxcs = dev_get_platdata(bus);
> which have the same value. Remove plat pointer.
> Signed-off-by: Heiko Schocher <hs at denx.de>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de

More information about the U-Boot mailing list