spi: imx: remove doubled pointer from mxc_spi_probe
authorHeiko Schocher <hs@denx.de>
Sun, 26 May 2019 10:15:46 +0000 (12:15 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
commit2b849e1f742c645518be81841cf9c325c839ccc3
treec45f1c93297e8ded7e82579fcf018867a87b9718
parent16c776d321aa847514f2134f890717f4de6a998c
spi: imx: remove doubled pointer from mxc_spi_probe

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@denx.de>
drivers/spi/mxc_spi.c