spi: make remove callback a void function
[linux-2.6-microblaze.git] / drivers / gpu / drm / panel / panel-nec-nl8048hl11.c
index 6e5ab1d..81c5c54 100644 (file)
@@ -212,15 +212,13 @@ static int nl8048_probe(struct spi_device *spi)
        return 0;
 }
 
-static int nl8048_remove(struct spi_device *spi)
+static void nl8048_remove(struct spi_device *spi)
 {
        struct nl8048_panel *lcd = spi_get_drvdata(spi);
 
        drm_panel_remove(&lcd->panel);
        drm_panel_disable(&lcd->panel);
        drm_panel_unprepare(&lcd->panel);
-
-       return 0;
 }
 
 static const struct of_device_id nl8048_of_match[] = {