Message ID | 20191104154249.16887-1-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1646982ilf; Mon, 4 Nov 2019 07:43:01 -0800 (PST) X-Google-Smtp-Source: APXvYqzSWyNHyx92tm6Z5CSCejH+m+oHFPMWfn5vOUtdkwVHydOH3CqLrYFA7F+MyUICkEh5qd31 X-Received: by 2002:a05:6a00:e:: with SMTP id h14mr25606140pfk.99.1572882181205; Mon, 04 Nov 2019 07:43:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572882181; cv=none; d=google.com; s=arc-20160816; b=Zv8DKWWas+FYedWbqolQbFD9VMjfY2QjumKEKQcM2T6wkaCMk6+pxKRJozPVSpct0E S/gbhaDJPeQ4+ySYG7nw47RcPE8D16T4WwBpkm0XLbULlrUAMxr4DkHhM0QxDUKRqBrP EppT2lvYR81HKfiSJ9v3GTbCFCHtTVb1+VRjHlKwL9BRFpLSSQCfRm2vmd19TOXvDOFO yeOqxXlD4oFOOzCh8ccvVOAJX9R1xpGBYYYpJfABCTnv10eQprBUrwcQTP26y70vftrb KRdY7iCVHzQ6lAaGrx6awrLLv9i/5yrffKpGtXzQIqVDC2eByBbqRl4KdrTHmY558FKL VR+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:message-id:date:subject:to:from :delivered-to; bh=nn3jpDhSktwIUpMlFX78PgtaBAMONK+o2Bv3EaFeTR8=; b=kjrZWaYMgc4aqJZLj3eNuzce2XG0ge95n8Yf1S9nkHOGpfXJx6WnsO96/oLCcSE9+Q KQd43PdC6bU6E7GRhXzK3C2rSlboW08m9cVQex6fX9e50gzJAflZF7nV93NTUXhjIPQg JscTszfStxr6+i7IMx9f8kp6LQGzzOsCqQQb/IZYWLxbn2YzxyQq2Oa4ZNXXgirEuz+L aYOC5uaFUtc1ITVEUJPxmZVqigEZraV0JpJxyHR5OjPQ1D4dUNTq+HcNrWpzwsE+XuNf fFUG8JP+Wu4adlzTEkoXLXkixCl8gFLsxzwDBoCbocpD9Jzp0qVuwSqMMXkOYEFaK2s+ pJLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id q1si4522110pfh.232.2019.11.04.07.43.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Nov 2019 07:43:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 14B4E6E5C3; Mon, 4 Nov 2019 15:43:00 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4D5086E5C3 for <dri-devel@lists.freedesktop.org>; Mon, 4 Nov 2019 15:42:58 +0000 (UTC) Received: by mail-lj1-x242.google.com with SMTP id v8so2499939ljh.5 for <dri-devel@lists.freedesktop.org>; Mon, 04 Nov 2019 07:42:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hu32T7qcZ0u0JC7oNX5YgTqXI2FkV77lexVaCcOwQZ0=; b=VDnsEWX7g1ENUEWDlyDdTAPLt1kO1yROOAzngDjDWPS56eUBl2usKAzJ+VE8OEV/I7 OvSWVRP9Woen4IU9azOmYcUvIKzaZTcq/Ph3uKqTEJSN4UuZqwU19GTfCxOjk1HHwJOv TDi/TITzattab5X7z+aqraQmmJro/z3QHuqhREVzHpa90AVt2pewizUtTQoDFxbFs3kF PqAfeDfa2dYXqJ/cCaRyRfZOJCCofz3kFyafHMvLxUlZ8ifKNimeU8/sz65hwyB6wM8z YwewFZC6733Po3R6mOHrqU2HaDQtyErE+vkMW/j+MYxKPa9OhxbTpwxcpJn/EMBy7jo4 vILw== X-Gm-Message-State: APjAAAVHphvcVycM2Zl/FVtEszhRmeL77KCzJ5jfhEqwmaE4NjwxXVX6 d7817DZJUHPxwtZfY2Srx017RTh/W9c= X-Received: by 2002:a2e:87cf:: with SMTP id v15mr198347ljj.79.1572882176481; Mon, 04 Nov 2019 07:42:56 -0800 (PST) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id u7sm6059850lfb.80.2019.11.04.07.42.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Nov 2019 07:42:55 -0800 (PST) From: Linus Walleij <linus.walleij@linaro.org> To: dri-devel@lists.freedesktop.org, Maarten Lankhorst <maarten.lankhorst@linux.intel.com>, Maxime Ripard <maxime.ripard@bootlin.com>, Sean Paul <sean@poorly.run> Subject: [PATCH] drm/mcde: Drop double-assignment of mcde Date: Mon, 4 Nov 2019 16:42:49 +0100 Message-Id: <20191104154249.16887-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hu32T7qcZ0u0JC7oNX5YgTqXI2FkV77lexVaCcOwQZ0=; b=BIHcCh6qtVlZ/Ni/TrMcHbpHgUKC/FnYPmq28SSQBmw/3MO/kvzzWfTlyZdjAP3qCw B+mo7y+nY6e0KUOogJSm3Epd6mFFfcGUcgdJWGIxYMrrvjFVoj+hazSF37dSMHdjUW84 KW30pdQLQaqiBFRO/y8NVq7CksblSuC2EScKgPHxTxWdx9HPqp82L5KLuBf5q0C3S+qY R/MYyA9u8+aF+6Fs7RiR2Kq2S/glLpfcyzUmEZhblIiDPk4v/7uA0ZiyLuBElt+NqpIv oriFqfuXhZI0g05tkVTWLjZDUCvfpxL9cpN/rXXr4VdVa2Iw1hMeSl7y5XbhFCMCTFHt z86A== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Markus Elfring <Markus.Elfring@web.de>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
drm/mcde: Drop double-assignment of mcde
|
expand
|
diff --git a/drivers/gpu/drm/mcde/mcde_drv.c b/drivers/gpu/drm/mcde/mcde_drv.c index 9a09eba53182..31ab3c136e2d 100644 --- a/drivers/gpu/drm/mcde/mcde_drv.c +++ b/drivers/gpu/drm/mcde/mcde_drv.c @@ -343,7 +343,6 @@ static int mcde_probe(struct platform_device *pdev) mcde->te_sync = true; /* 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");
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> --- drivers/gpu/drm/mcde/mcde_drv.c | 1 - 1 file changed, 1 deletion(-)