aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-11-04 16:40:03 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-12-11 16:45:35 +0100
commitff7b9b23247c163b2b22a03de363dc45a0960dc6 (patch)
tree15b7d7757619dc578e708ae121751499168a7553
parentf162eeba5a812789eed128b1f673957dca3e0c8f (diff)
drm/mcde: Drop double-assignment of mcde
It's enough to assign the member once. Cc: Markus Elfring <Markus.Elfring@web.de> Reported-by: Markus Elfring <Markus.Elfring@web.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/gpu/drm/mcde/mcde_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mcde/mcde_drv.c b/drivers/gpu/drm/mcde/mcde_drv.c
index 9008ddcfc528..b83f8f6740b4 100644
--- a/drivers/gpu/drm/mcde/mcde_drv.c
+++ b/drivers/gpu/drm/mcde/mcde_drv.c
@@ -333,7 +333,6 @@ static int mcde_probe(struct platform_device *pdev)
/* Enable continuous updates: this is what Linux' framebuffer expects */
mcde->oneshot_mode = false;
- drm->dev_private = mcde;
/* First obtain and turn on the main power */
mcde->epod = devm_regulator_get(dev, "epod");