diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-26 17:21:05 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-26 17:21:05 +0200 |
commit | 592cd34d9431736493c375b609f7f7d4458a8637 (patch) | |
tree | 033f7892b2e3e9e237a5b0019a227afc0416d944 /drivers/spi | |
parent | Merge remote-tracking branch 'spi/topic/topcliff' into spi-next (diff) | |
parent | spi: spi-txx9: Remove redundant platform_set_drvdata() (diff) | |
download | linux-592cd34d9431736493c375b609f7f7d4458a8637.tar.xz linux-592cd34d9431736493c375b609f7f7d4458a8637.zip |
Merge remote-tracking branch 'spi/topic/txx9' into spi-next
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-txx9.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-txx9.c b/drivers/spi/spi-txx9.c index cefd9568f098..e9b7681ff6ac 100644 --- a/drivers/spi/spi-txx9.c +++ b/drivers/spi/spi-txx9.c @@ -419,7 +419,6 @@ exit: clk_disable(c->clk); clk_put(c->clk); } - platform_set_drvdata(dev, NULL); spi_master_put(master); return ret; } @@ -430,7 +429,6 @@ static int txx9spi_remove(struct platform_device *dev) struct txx9spi *c = spi_master_get_devdata(master); spi_unregister_master(master); - platform_set_drvdata(dev, NULL); destroy_workqueue(c->workqueue); clk_disable(c->clk); clk_put(c->clk); |