summaryrefslogtreecommitdiff
path: root/drivers/spi/spi_nuc900.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi_nuc900.c')
-rw-r--r--drivers/spi/spi_nuc900.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi_nuc900.c b/drivers/spi/spi_nuc900.c
index d5be18b3078c..3cd15f690f16 100644
--- a/drivers/spi/spi_nuc900.c
+++ b/drivers/spi/spi_nuc900.c
@@ -463,7 +463,7 @@ static int __devexit nuc900_spi_remove(struct platform_device *dev)
platform_set_drvdata(dev, NULL);
- spi_unregister_master(hw->master);
+ spi_bitbang_stop(&hw->bitbang);
clk_disable(hw->clk);
clk_put(hw->clk);