spi: make remove callback a void function
[linux-2.6-microblaze.git] / sound / soc / codecs / wm8804-spi.c
index 9a8da15..6285687 100644 (file)
@@ -24,10 +24,9 @@ static int wm8804_spi_probe(struct spi_device *spi)
        return wm8804_probe(&spi->dev, regmap);
 }
 
-static int wm8804_spi_remove(struct spi_device *spi)
+static void wm8804_spi_remove(struct spi_device *spi)
 {
        wm8804_remove(&spi->dev);
-       return 0;
 }
 
 static const struct of_device_id wm8804_of_match[] = {