summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-slave-time.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/spi-slave-time.c')
-rw-r--r--drivers/spi/spi-slave-time.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi-slave-time.c b/drivers/spi/spi-slave-time.c
index f2e07a392d68..f56c1afb8534 100644
--- a/drivers/spi/spi-slave-time.c
+++ b/drivers/spi/spi-slave-time.c
@@ -106,13 +106,12 @@ static int spi_slave_time_probe(struct spi_device *spi)
return 0;
}
-static int spi_slave_time_remove(struct spi_device *spi)
+static void spi_slave_time_remove(struct spi_device *spi)
{
struct spi_slave_time_priv *priv = spi_get_drvdata(spi);
spi_slave_abort(spi);
wait_for_completion(&priv->finished);
- return 0;
}
static struct spi_driver spi_slave_time_driver = {