Message ID | 745f84db-dc9b-81b2-6171-4d8d86a96966@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:24d3:b0:fb:cd0c:d3e with SMTP id r19csp1340009dyi; Mon, 18 Dec 2023 07:59:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqjIrwXONzuLFtVTrKFebHRzm6ate7clQ26RwWmcDFpqrAQj5ha99JN88Z6H17mBbMnmCx X-Received: by 2002:a17:902:654c:b0:1d3:b22c:ed3e with SMTP id d12-20020a170902654c00b001d3b22ced3emr2288942pln.23.1702915157061; Mon, 18 Dec 2023 07:59:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702915157; cv=none; d=google.com; s=arc-20160816; b=AfAhSJ5Y0lNxHinJ/gI0oQpNOK8YTE1mPx7Kgbw5BHjJUrlWczZfb5CIsxjnbzRBTb IZeQ+O03tz8YBlYea/EQWBB/hk+cD/eihTmFqhnppCN6L/kkpMw1C5evU5LfpHTiypi+ U5lGeI7TZd8v+/GqLCuVIMuZAbzGbNoN33t5CTtlOgwnRPJgH+vqE46dG2coNDijVn7a BuHD66IKlAZod8eY9l0kxYjnWTmtOjvNqSVvq3MakdwOm/D3vfnfuttIkG4kpYr2MJnV U5/jqjCuV4GTPg77PjB7dXlMGG0U5k3hoUm/oOh3NOLdAblc4ajdGc/ASjB7tCD6r7mt WTEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:subject:from:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=nKUBapAjhj0X0B96M3zAwIkjMB25EHCfu9hZ082V30o=; fh=usGf5YuzJErDBs3RZupISTmb3HS19kiaPLLfDcr/Qdk=; b=FRAvIrov15dU1TuJyynF46v78AcfxePagmQeAjiUJJNbuP3TVk714ohYTYm2vrRNAf 5g8Og/XdKX49mbVhH1Hzu44llAiYljQTnXKRK/SO8im7YIScJtTZyxnUnjnbRQ0gUfqm DN9walD/y5dqmiKKX5p14oP2HyOUFePH6ZLkmBduYzAhahcCLE2kozIymTsuGC6dYDAv Le4ccMwD9pKBZLRD//s5/pWHvdcZa8w2+H1qV0lHFS2Rt4UjysM2viNPkrkxoajg/ZyX +u3xhGDcyF5IxvpzD/pcWA71RlzCLP/zFBt5HLFepI4epupL5BF7rutmUiYZC3j3D5Wl RLyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CJ8LSnv2; spf=pass (google.com: domain of linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h4-20020a170902b94400b001cfb834d371si17765746pls.113.2023.12.18.07.59.16 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 07:59:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CJ8LSnv2; spf=pass (google.com: domain of linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3983-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 34F30B23E5E for <ouuuleilei@gmail.com>; Mon, 18 Dec 2023 15:51:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E0584FF74; Mon, 18 Dec 2023 15:48:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CJ8LSnv2" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 13FDE4FF66 for <linux-kernel@vger.kernel.org>; Mon, 18 Dec 2023 15:48:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a2356bb40e3so105486666b.1 for <linux-kernel@vger.kernel.org>; Mon, 18 Dec 2023 07:48:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702914522; x=1703519322; 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=nKUBapAjhj0X0B96M3zAwIkjMB25EHCfu9hZ082V30o=; b=CJ8LSnv2lgXXIZIViabbhDPgDW8icMxYC8xhGIHgDObiDXSJG7Kd3qZ2VQLHOpDt9S 5h4lJ52STLYCex0JiTTYR9GEaAzou+s+TezQnEKnc8OPEN3xycyFE84mIwBpelIajC1U je35VQc3PZVc4wMJVdchBx+NPOM6hrJaVhJ0DB8fe1rMIu0xQQic6B7ZNTjCsxAwjWvK 3C+2K4sMujMEAbaZYufDhfudn+TLDecBQu2aMMbidbGRGsGUi6VcJRXme5lmgEhx6bas maTLaAvC1y8Bx6djJjR+xvbUKU3PFOel4gol+ofC9tuBctK73RkA1+Cndtspm3BPLNCs sDSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702914522; x=1703519322; 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=nKUBapAjhj0X0B96M3zAwIkjMB25EHCfu9hZ082V30o=; b=ZZ60+pltaKBRklrOmFZy0C9qGizQXTvips5lt/QNMkecWR8dtLa5FtvQ8iLU4KYQSf 7Fh9tteBHlaGTzaJVom032LdnvtLfF1Qn47Oh3rvOBbrB5YjZqHz/T6ZEGrxnynz5i6W HzrH2Wi29zQZoLlrv5FnWlTivPvVDAObidIDU4lt4+PM+g86olzCAnlpNIlRWK99///6 7SQTNZXInc5foFyD84WBpUjih5PdNYheq1j1o5CObytMBr/oTNRgpd8+xrszCpy4wsiX RLujKEOM7T1Z1iMCEFzlYrHPK2fg2yuyZOotZKghFtYEd1OSp1yg2fVsiSPGkQ1Qi+BE 1Kvw== X-Gm-Message-State: AOJu0Yxz/esLDzkBSQqxOtr9Y9JDia1t0SSFBcIFBl+hPCqmWMBHmzfp /+2OzNglRMbgR9oCNkU6w9A= X-Received: by 2002:a17:906:7399:b0:a23:6c6e:6b4b with SMTP id f25-20020a170906739900b00a236c6e6b4bmr282667ejl.45.1702914522076; Mon, 18 Dec 2023 07:48:42 -0800 (PST) Received: from [192.168.2.1] (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id vq6-20020a170907a4c600b00a19b7362dcfsm14334325ejc.139.2023.12.18.07.48.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Dec 2023 07:48:41 -0800 (PST) Message-ID: <745f84db-dc9b-81b2-6171-4d8d86a96966@gmail.com> Date: Mon, 18 Dec 2023 16:48:40 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 From: Johan Jonker <jbx6244@gmail.com> Subject: [PATCH v2 1/2] drm/rockchip: rk3066_hdmi: remove unused drm device pointer To: hjc@rock-chips.com, heiko@sntech.de, andy.yan@rock-chips.com Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, 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: <f86ec29f-194a-800d-0aaf-9e16e551b37d@gmail.com> Content-Language: en-US In-Reply-To: <f86ec29f-194a-800d-0aaf-9e16e551b37d@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785635963936989506 X-GMAIL-MSGID: 1785635963936989506 |
Series |
Rockchip rk3066_hdmi update
|
|
Commit Message
Johan Jonker
Dec. 18, 2023, 3:48 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
Comments
On Mon, 18 Dec 2023 16:48:40 +0100, Johan Jonker wrote: > 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> Reviewed-by: Maxime Ripard <mripard@kernel.org> Thanks! Maxime
diff --git a/drivers/gpu/drm/rockchip/rk3066_hdmi.c b/drivers/gpu/drm/rockchip/rk3066_hdmi.c index 62e6d8187de7..0dac6d133767 100644 --- a/drivers/gpu/drm/rockchip/rk3066_hdmi.c +++ b/drivers/gpu/drm/rockchip/rk3066_hdmi.c @@ -40,7 +40,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; @@ -752,7 +751,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);