aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-dw.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/spi/spi-dw.c b/drivers/spi/spi-dw.c
index 9965e1b84832..29f33143b795 100644
--- a/drivers/spi/spi-dw.c
+++ b/drivers/spi/spi-dw.c
@@ -606,12 +606,6 @@ static int dw_spi_setup(struct spi_device *spi)
606 return 0; 606 return 0;
607} 607}
608 608
609static void dw_spi_cleanup(struct spi_device *spi)
610{
611 struct chip_data *chip = spi_get_ctldata(spi);
612 kfree(chip);
613}
614
615/* Restart the controller, disable all interrupts, clean rx fifo */ 609/* Restart the controller, disable all interrupts, clean rx fifo */
616static void spi_hw_init(struct dw_spi *dws) 610static void spi_hw_init(struct dw_spi *dws)
617{ 611{