diff options
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-dw.c | 6 |
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 | ||
609 | static 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 */ |
616 | static void spi_hw_init(struct dw_spi *dws) | 610 | static void spi_hw_init(struct dw_spi *dws) |
617 | { | 611 | { |