Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp295212rdb; Sat, 16 Dec 2023 08:31:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFvMlTwUFtAgLIKyRxq9U0Cx9x/PSgzOaYo4EiI/Fro/HjojmiN5mvBf5PNOtebmJQdWhsS X-Received: by 2002:a17:90a:bb01:b0:286:c54a:a20d with SMTP id u1-20020a17090abb0100b00286c54aa20dmr10493862pjr.21.1702744303035; Sat, 16 Dec 2023 08:31:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702744303; cv=none; d=google.com; s=arc-20160816; b=KL/XBa63rxzkdVHbsejvO/sByfam1lEg15KqNtGDzRwYXTIgxuoStst2q0t2r2aOQR JtDGipxUP2nkW6JeXyRjy0xRxPym9n2JGnqxWkmI7v8Jrj3I/KLx35WitRYFRCABBVyq Ad9zp05KavkWJI9QIKxWcmBJIKQAlHcnm82TLZLQMrFYo+lBSs+Qdp9mFBgR8zhzX6mG F/qzXRzDhrm2DiLE250v/NRZv67E43Ogcv9VGkb43pnuUF7MqJnfwkZgTCxjHPD70flR MsSG6zlgCZJaMffA0m1zOxLE5MNowR4QvvxrLwuvcnZAj8R7IFkZhm2TXkFfNu9D0U6A OuGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=73XUcSiZm29Hst8BGY/CNDIJrl23XpjPpmNwnFVb4KY=; fh=nzMX5Jolb3GculGR3f1Z1ReHOqdNjcdazDY5R3X+7M0=; b=LB/UNPALkWS86RG5pkNpWqEgjoVn5bMuQpuRIhFKAld7XSG//q7BBGwxxod4FyqP/G pt9o8JsWKxk1VXKxLrLz88cdVDDSAU4VmOhRGEExvghpqgqXarCtLsG8mhZdb6sKs8mq Hi/TYj13oTb1dSY5CTw7LmMYsl9iLHVk4Xdso+jH+RpQ7D4ozEnYwqluSL33mu/wCgW7 Ey22CqipyuQY4mP3/9din0Fqc9IV+yyymOacJ/KFEJfzYuA/eBb/B164qoP7QFlgaRmY foYv99qxhir5UXCD4lmOws6BMNJvlFASAUJbDhwreaUz6w/1IarVeIBRAob/NvyYMo/k KnfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EjcS9X4K; spf=pass (google.com: domain of linux-kernel+bounces-2263-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2263-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id pf1-20020a17090b1d8100b0028b2a3f210esi3310156pjb.20.2023.12.16.08.31.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 08:31:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2263-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EjcS9X4K; spf=pass (google.com: domain of linux-kernel+bounces-2263-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2263-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A7821285755 for ; Sat, 16 Dec 2023 16:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA42937D28; Sat, 16 Dec 2023 16:27:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EjcS9X4K" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 B8FD4321BB; Sat, 16 Dec 2023 16:27:18 +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-f54.google.com with SMTP id a640c23a62f3a-a1ef2f5ed01so216691866b.0; Sat, 16 Dec 2023 08:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702744037; x=1703348837; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=73XUcSiZm29Hst8BGY/CNDIJrl23XpjPpmNwnFVb4KY=; b=EjcS9X4KdVNULbVGSH9dKIdFJ+b2Be0IHxPzAGMQuIssww7sP2z/ouZIaRf1Zu8D0q 7iHBKO1rhMslEaofNfIUlyC5IQX8KINU2ETtmonBkHyNw6YGe8OM0DYbvsWTceHpv2ES WZ0/o8Np40jKWVjZxAXPXKG7RV9avQ8Ep1/hHR7VuF78fR26es8h5EWPisXU7+s1JMt/ lhCSr0oS5oKLllL1D+wqkdYQ1RcfXVjXSoH0g5XYsoLst2UaJrnbirfAbjh0dlX0DfHT LksCFtWEslvR/zAwDTn5R8aDpVv2Wk/nRvXhCRqISflRdgn7CFk/GFXg9g5sr5jsh7NW 73BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702744037; x=1703348837; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=73XUcSiZm29Hst8BGY/CNDIJrl23XpjPpmNwnFVb4KY=; b=T2iKX+KePhBmW3Ffs4yD0L3cgOpokuOSg1lnUg3/XMVfoNOShogVdGY1Jgq5zNVFiB rtSWe4YC7H+ChnhfXcGuWDoqlNU6FfGzYZy6L1S4b2zDdDOPJDiUKuA7RM6KvLo4mASe Ml2BFH890jFFSkAU72g117JjIk3yFW1StKqQ594b0Pxsx82+tcqZvrBQe450uNPKvK/k tKZFmMRi+wMLiTBGB9s+DEHlzfBECG10w1fqnHW+JIJD0lrb0jqi9No6XhDlPRTs5LT1 Zrj9zSY6OJJnezsPF2jcVe3JsySlcFEgzxJA5cwkgaXY07sISxv0WA5IwR6VaDg/m/Kq +8og== X-Gm-Message-State: AOJu0YwotkEfCBHcNAItpgE70QzNqq5DaLNmpwIrvWgjb2xX2CyfJJk6 ETa+/mp1AlFAFcIKYCKfdQ== X-Received: by 2002:a17:907:724d:b0:a1c:a39d:dcbd with SMTP id ds13-20020a170907724d00b00a1ca39ddcbdmr4339820ejc.232.1702744036964; Sat, 16 Dec 2023 08:27:16 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:e807:d345:6f47:1db9]) by smtp.gmail.com with ESMTPSA id st10-20020a170907c08a00b00a1cd0794696sm11990362ejc.53.2023.12.16.08.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 08:27:16 -0800 (PST) From: Alex Bee To: Sandy Huang , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Andy Yan , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: David Airlie , Daniel Vetter , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Alex Bee Subject: [PATCH v2 15/27] drm/rockchip: inno_hdmi: Remove unused drm device pointer Date: Sat, 16 Dec 2023 17:26:26 +0100 Message-ID: <20231216162639.125215-16-knaerzche@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231216162639.125215-1-knaerzche@gmail.com> References: <20231216162639.125215-1-knaerzche@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Maxime Ripard The drm_dev field in the inno_hdmi struct stores a pointer to the DRM device but is never used anywhere in the driver. Let's remove it. Signed-off-by: Maxime Ripard Tested-by: Alex Bee --- changes in v2: - imported patch drivers/gpu/drm/rockchip/inno_hdmi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.c b/drivers/gpu/drm/rockchip/inno_hdmi.c index b6b34f4b8cda..e37023d8fa39 100644 --- a/drivers/gpu/drm/rockchip/inno_hdmi.c +++ b/drivers/gpu/drm/rockchip/inno_hdmi.c @@ -44,7 +44,6 @@ struct inno_hdmi_i2c { struct inno_hdmi { struct device *dev; - struct drm_device *drm_dev; int irq; struct clk *pclk; @@ -760,7 +759,6 @@ static int inno_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)) -- 2.43.0