Merge tag 'for-linus-5.11-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / gpu / drm / panel / panel-sitronix-st7789v.c
index 3513ae40efa8cd637a70a0de329aaeed76e2503d..61e565524542c7e284726a5c34f770180e9084f4 100644 (file)
@@ -382,9 +382,7 @@ static int st7789v_probe(struct spi_device *spi)
        if (ret)
                return ret;
 
-       ret = drm_panel_add(&ctx->panel);
-       if (ret < 0)
-               return ret;
+       drm_panel_add(&ctx->panel);
 
        return 0;
 }