summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-06-26 17:21:03 +0200
committerMark Brown <broonie@linaro.org>2013-06-26 17:21:03 +0200
commitc87e5d97c9971f4345b221c7f5de9b2e0ea4235d (patch)
treef7350a7b72901b45c6c28978125117106dabe076 /drivers/spi
parentMerge remote-tracking branch 'spi/topic/pxa' into spi-next (diff)
parentspi: spi-s3c24xx: Remove redundant platform_set_drvdata() (diff)
downloadlinux-c87e5d97c9971f4345b221c7f5de9b2e0ea4235d.tar.xz
linux-c87e5d97c9971f4345b221c7f5de9b2e0ea4235d.zip
Merge remote-tracking branch 'spi/topic/s3c24xx' into spi-next
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-s3c24xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c24xx.c
index 02d64603fcc5..68910b310152 100644
--- a/drivers/spi/spi-s3c24xx.c
+++ b/drivers/spi/spi-s3c24xx.c
@@ -667,8 +667,6 @@ static int s3c24xx_spi_remove(struct platform_device *dev)
{
struct s3c24xx_spi *hw = platform_get_drvdata(dev);
- platform_set_drvdata(dev, NULL);
-
spi_bitbang_stop(&hw->bitbang);
clk_disable(hw->clk);