spi: make remove callback a void function
[linux-2.6-microblaze.git] / drivers / gpu / drm / panel / panel-innolux-ej030na.c
index c558de3..e3b1daa 100644 (file)
@@ -219,15 +219,13 @@ static int ej030na_probe(struct spi_device *spi)
        return 0;
 }
 
-static int ej030na_remove(struct spi_device *spi)
+static void ej030na_remove(struct spi_device *spi)
 {
        struct ej030na *priv = spi_get_drvdata(spi);
 
        drm_panel_remove(&priv->panel);
        drm_panel_disable(&priv->panel);
        drm_panel_unprepare(&priv->panel);
-
-       return 0;
 }
 
 static const struct drm_display_mode ej030na_modes[] = {