Message ID | alpine.DEB.2.21.1808180850440.2783@hadrien (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/panel: fix odd_ptr_err.cocci warnings | expand |
--- a/drivers/gpu/drm/panel/panel-truly-nt35597.c +++ b/drivers/gpu/drm/panel/panel-truly-nt35597.c @@ -624,7 +624,7 @@ static int truly_nt35597_probe(struct mi dsi1_device = mipi_dsi_device_register_full(dsi1_host, &info); if (IS_ERR(dsi1_device)) { DRM_DEV_ERROR(dev, "failed to create dsi device\n"); - ret = PTR_ERR(dsi); + ret = PTR_ERR(dsi1_device); goto err_dsi_device; }