spi: make remove callback a void function
[linux-2.6-microblaze.git] / drivers / gpu / drm / tiny / repaper.c
index 97a775c..beeeb17 100644 (file)
@@ -1140,14 +1140,12 @@ static int repaper_probe(struct spi_device *spi)
        return 0;
 }
 
-static int repaper_remove(struct spi_device *spi)
+static void repaper_remove(struct spi_device *spi)
 {
        struct drm_device *drm = spi_get_drvdata(spi);
 
        drm_dev_unplug(drm);
        drm_atomic_helper_shutdown(drm);
-
-       return 0;
 }
 
 static void repaper_shutdown(struct spi_device *spi)