Commit 592cd34d authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'spi/topic/txx9' into spi-next

parents cf7315b2 69a01719
...@@ -419,7 +419,6 @@ static int txx9spi_probe(struct platform_device *dev) ...@@ -419,7 +419,6 @@ static int txx9spi_probe(struct platform_device *dev)
clk_disable(c->clk); clk_disable(c->clk);
clk_put(c->clk); clk_put(c->clk);
} }
platform_set_drvdata(dev, NULL);
spi_master_put(master); spi_master_put(master);
return ret; return ret;
} }
...@@ -430,7 +429,6 @@ static int txx9spi_remove(struct platform_device *dev) ...@@ -430,7 +429,6 @@ static int txx9spi_remove(struct platform_device *dev)
struct txx9spi *c = spi_master_get_devdata(master); struct txx9spi *c = spi_master_get_devdata(master);
spi_unregister_master(master); spi_unregister_master(master);
platform_set_drvdata(dev, NULL);
destroy_workqueue(c->workqueue); destroy_workqueue(c->workqueue);
clk_disable(c->clk); clk_disable(c->clk);
clk_put(c->clk); clk_put(c->clk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment