summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel/panel-magnachip-d53e6ea8966.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/panel/panel-magnachip-d53e6ea8966.c')
-rw-r--r--drivers/gpu/drm/panel/panel-magnachip-d53e6ea8966.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panel/panel-magnachip-d53e6ea8966.c b/drivers/gpu/drm/panel/panel-magnachip-d53e6ea8966.c
index 8c362c40227f..26d358b9b85a 100644
--- a/drivers/gpu/drm/panel/panel-magnachip-d53e6ea8966.c
+++ b/drivers/gpu/drm/panel/panel-magnachip-d53e6ea8966.c
@@ -418,7 +418,7 @@ static int d53e6ea8966_probe(struct spi_device *spi)
if (IS_ERR(db->dsi_dev)) {
dev_err(dev, "failed to register dsi device: %ld\n",
PTR_ERR(db->dsi_dev));
- ret = PTR_ERR(db->dsi_dev);
+ return PTR_ERR(db->dsi_dev);
}
db->dsi_dev->lanes = 2;