Merge tag 'drm-misc-next-2022-04-07' of git://anongit.freedesktop.org/drm/drm-misc...
[linux-2.6-microblaze.git] / drivers / gpu / drm / panel / panel-newvision-nv3052c.c
index 127bcfd..cf078f0 100644 (file)
@@ -416,15 +416,13 @@ static int nv3052c_probe(struct spi_device *spi)
        return 0;
 }
 
-static int nv3052c_remove(struct spi_device *spi)
+static void nv3052c_remove(struct spi_device *spi)
 {
        struct nv3052c *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 ltk035c5444t_modes[] = {