spi: rockchip: remove master pointer from dev data
authorEmil Renner Berthing <kernel@esmil.dk>
Wed, 31 Oct 2018 10:57:05 +0000 (11:57 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:42:17 +0000 (11:42 +0000)
commitd790c342e689ea77a5cf72d5b993299911ee5276
treec8314eff5fa893f29eaa8a71024d6026bb1a8513
parenteee06a9ee2cd5deaddc5f77ce8f6118c8b82b2a0
spi: rockchip: remove master pointer from dev data

In almost all cases we already have a pointer to the
spi master structure where we have the driver data.

The only exceptions are the dma callbacks which are
easily fixed by passing them the master and using
spi_master_get_devdata to retrieve the driver data.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c