aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bcm2835.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-11-15 15:44:02 +0800
committerMark Brown <broonie@linaro.org>2013-11-15 10:24:00 +0000
commit53063ec6e2cc38000f98a5de557b7e4fed186cfc (patch)
tree02c636ce7f86c2f52860ca8da245c82c438685fe /drivers/spi/spi-bcm2835.c
parentMerge remote-tracking branch 'spi/topic/wr' into spi-next (diff)
downloadlinux-dev-53063ec6e2cc38000f98a5de557b7e4fed186cfc.tar.xz
linux-dev-53063ec6e2cc38000f98a5de557b7e4fed186cfc.zip
spi: rspi: use platform drvdata correctly in rspi_remove()
We had set the platform drvdata in rspi_probe() as a type of struct rspi_data, but use it as struct spi_master in rspi_remove() Fix by remove the unnecessary spi_master_[get|put]() since rspi->master is no longer used after spi_unregister_master(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-bcm2835.c')
0 files changed, 0 insertions, 0 deletions