Message ID | 813a0e30-a61d-7fc9-9ca6-11bf9c6fbe52@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp362488vqu; Thu, 2 Nov 2023 06:43:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJxkJOm8uv+Yy3jbz3IYRrDTovuzzzFgyujiEBW6s+M+wehpTUkVBZGidRK4/cspMo+0GL X-Received: by 2002:a05:6a00:1387:b0:6bd:2c0a:e7d with SMTP id t7-20020a056a00138700b006bd2c0a0e7dmr22297348pfg.19.1698932582910; Thu, 02 Nov 2023 06:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698932582; cv=none; d=google.com; s=arc-20160816; b=f43RrQQcdYnTPvy71umav1kXPIKnAYDnrEdIngN/qdRnhHOPKljiO1olgJuNaCrhhU URMp5lwKn3W97MKRSdDTEIZsDXkb7zkwA0cEdfYSq14tjfUPbFctps7tGsoWFyKpzL37 iYVWBzn+MB8gaQEgbwRr5KxBwWyk8hfaHUywMD3SjMAW1QNjH3QdOjkEv/P8ZOLk9R88 ozfyEkorgecUkSnZ9NLn779X/34s5pAgxX7cUkkwukxkQfRFE3UmINiQxafVXmo3PoT1 pMCF5dNLy9ZkLhvTW2Xa0qpIysCzQllzxzOn35RLP7utOCQbVtCsq0S83wIBr2LKCzUz SYIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=mtT6nxgsYYS4sdsaY7t86FYZfBLOlduBaZpsVAIl6mA=; fh=v9EK/ZpF7mC7HytCEN1dwHNmJmndcYWW0//5MYgVSx0=; b=QeUdAOVm169avvPRNlKvHSPYhQtjGtiu1iRP5b3Ug+OhKSpak9c8vrSXBxxbdXQ3Mc gU13imZVsooaHkbSvp6S5SsHNUfL7YfBua2XfKT9IsY7yZymsehRJCiN2j3OAb66+PQO 641yUZvD6RokqH9MzrgdVAjU+bONRQBBOi3fa50Xn3ZCtErDyAAWBJzFMd2+XGlfeZTf wkJ/3MOK9DNc2arm1orVqPRAvCnjY1FwtT1FFjIgagzwNjm9fL9ZfOoJgdmXbkGd2Efh dZEmKrmyw6jUI8/xOsJEiaqgDK3yFBsmDLFp88F5qROwenJJKNcL8ASEMdasMDWE39Nf xhvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c4qBMrA9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id a189-20020a624dc6000000b00690ba709d02si3466366pfb.381.2023.11.02.06.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 06:43:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c4qBMrA9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id B5F108074069; Thu, 2 Nov 2023 06:43:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376637AbjKBNmm (ORCPT <rfc822;lhua1029@gmail.com> + 36 others); Thu, 2 Nov 2023 09:42:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235127AbjKBNmk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 2 Nov 2023 09:42:40 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5A87197 for <linux-kernel@vger.kernel.org>; Thu, 2 Nov 2023 06:42:35 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-52bd9ddb741so1601702a12.0 for <linux-kernel@vger.kernel.org>; Thu, 02 Nov 2023 06:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698932554; x=1699537354; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=mtT6nxgsYYS4sdsaY7t86FYZfBLOlduBaZpsVAIl6mA=; b=c4qBMrA93TzGOmeAeaF2jkZGTwC7vfOxIsxOHtAU2zMyx2tdkDr/uNVMgjYYiPoX4n RsMbzkxVHl2eoGzkWp8OYB8UERx9LgH1aXi9U9+jddHRtYn1OIEafg81+GfsZF/jW9mu 6cEQuMjwVQ78uvhHOBf50dGDql7dZKZu/JuHec70ZH53C0w5C/kEL5KKqzJ9uFkb4f2y 8sRpkKKoPH7emoAFZGqHU5x+jfpVVst9JWAJhNazCJAqKzYQ0zbmzOyUrHtrX9nLvhOg DiWjRVTixpg3EyS1YzvHyuINITTU+QJb/QWSp/g9Fh4IG16vxN8dGAY1LhfZuwwSkv+d Mj2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698932554; x=1699537354; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mtT6nxgsYYS4sdsaY7t86FYZfBLOlduBaZpsVAIl6mA=; b=IDciT2hxCfk+f1Yfj4DTI81sHEe6a4uCUdZzZx972dSXRo5NKbCYd1e9NzJU+qyYR4 /NIiN8hiUbIYYW5CglQMwgOijbPLCIyroCCI4b4IB6SVg7Bs1c0TYsS7Ty+9rTSqUZbi yxFO6x2aQSvmL6uDXzLX48jgLk+Vfpmtn6svFz+/OJs49gk8+g504mTlcZaXwaOJrLwR xDWhFr49Ev0/Y5g/znb/E8xMnaLcVCKYcrDlfTG7OufRCr+Nsri4izBcvxTpOUGLbhJ4 mCfbVP2uOEKB/2smYRc7YGhlx3e2BRPxu2XuxEjwRCz/8c7vEiGSL42y55jiGbMgYlls nJ6Q== X-Gm-Message-State: AOJu0YyTrnVjlMhRlMdJTYwC1XMzQZ54+Y01sKaM0PHifvzjjWBzntFM guNhOmCzDLo2ILjOtTlp9xM= X-Received: by 2002:a05:6402:2029:b0:53d:a7d9:5149 with SMTP id ay9-20020a056402202900b0053da7d95149mr14483614edb.6.1698932554131; Thu, 02 Nov 2023 06:42:34 -0700 (PDT) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id v3-20020a50d583000000b0053e89721d4esm2378618edi.68.2023.11.02.06.42.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Nov 2023 06:42:33 -0700 (PDT) Message-ID: <813a0e30-a61d-7fc9-9ca6-11bf9c6fbe52@gmail.com> Date: Thu, 2 Nov 2023 14:42:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 From: Johan Jonker <jbx6244@gmail.com> Subject: [PATCH v1 4/4] drm/rockchip: rk3066_hdmi: Remove unused drm device pointer To: hjc@rock-chips.com, heiko@sntech.de Cc: airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org References: <cda574be-4f33-b66d-eb14-92c2b31d241e@gmail.com> Content-Language: en-US In-Reply-To: <cda574be-4f33-b66d-eb14-92c2b31d241e@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 02 Nov 2023 06:43:00 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781459932041962415 X-GMAIL-MSGID: 1781459932041962415 |
Series |
Rockchip rk3066_hdmi update
|
|
Commit Message
Johan Jonker
Nov. 2, 2023, 1:42 p.m. UTC
The drm_dev field in the rk3066_hdmi struct stores a pointer to the DRM
device but is never used anywhere in the driver. Let's remove it.
Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
drivers/gpu/drm/rockchip/rk3066_hdmi.c | 2 --
1 file changed, 2 deletions(-)
--
2.39.2
diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_hdmi.c index f2b1b2faa096..c51520ec58d2 100644 --- a/drivers/gpu/drm/rockchip/rk3066_hdmi.c +++ b/drivers/gpu/drm/rockchip/rk3066_hdmi.c @@ -38,7 +38,6 @@ struct rk3066_hdmi_i2c { struct rk3066_hdmi { struct device *dev; - struct drm_device *drm_dev; struct regmap *grf_regmap; int irq; struct clk *hclk; @@ -734,7 +733,6 @@ static int rk3066_hdmi_bind(struct device *dev, struct device *master, return -ENOMEM; hdmi->dev = dev; - hdmi->drm_dev = drm; hdmi->regs = devm_platform_ioremap_resource(pdev, 0); if (IS_ERR(hdmi->regs)) return PTR_ERR(hdmi->regs);