spi: make remove callback a void function
[linux-2.6-microblaze.git] / drivers / rtc / rtc-ds1343.c
index f14ed6c..ed5a6ba 100644 (file)
@@ -434,11 +434,9 @@ static int ds1343_probe(struct spi_device *spi)
        return 0;
 }
 
-static int ds1343_remove(struct spi_device *spi)
+static void ds1343_remove(struct spi_device *spi)
 {
        dev_pm_clear_wake_irq(&spi->dev);
-
-       return 0;
 }
 
 #ifdef CONFIG_PM_SLEEP