aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/spi/spi-rockchip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c
index f96ea8a38d64..08897d34ce33 100644
--- a/drivers/spi/spi-rockchip.c
+++ b/drivers/spi/spi-rockchip.c
@@ -723,8 +723,6 @@ static int rockchip_spi_remove(struct platform_device *pdev)
723 if (rs->dma_rx.ch) 723 if (rs->dma_rx.ch)
724 dma_release_channel(rs->dma_rx.ch); 724 dma_release_channel(rs->dma_rx.ch);
725 725
726 spi_master_put(master);
727
728 return 0; 726 return 0;
729} 727}
730 728