Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp140193pxb; Mon, 2 Nov 2020 16:39:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvj72SUFqX1SS7Kb+QThc/RFCdvwx6O86eUTVz3IksV9ya4zaMyb6rNymD5M9+B8b0WTze X-Received: by 2002:a17:907:420d:: with SMTP id oh21mr9040987ejb.429.1604363984819; Mon, 02 Nov 2020 16:39:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604363984; cv=none; d=google.com; s=arc-20160816; b=aVFZs6ZUC8aPKj+l36G9SgSz0iWHrLB0R+yha21aMM2NGxwsN6+3JXPMcHQP5vxTF4 cEk64TwYqRP3tWkGU0DV62IlAIE/2Sxp5uJbUzDlag7uxl9EFdpnzJ3VV+FI1S7uKK/s F0yoRlSoHxK+L4OVYC8JXzeIqQgj+lNb4MT1oOOSGN0eAZrqdy9xJ4dvNbLCM8oo4J4W VVWWN5Zw6pNA6IKHBbMMMQ0jETOE0PtiWbRH233LWPRQ8AP8AgYPO3xBFwi0zSTGlQxL PWLOki2ieU3G5JfCgFzN2TmHBEDWqly55F+KxeudrrWBHK4XQIdLP3QKi0Qyxmg4ASo7 XPzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=7nRb5oE9R6TvOw7mmCv+l3nEUUYt/5iLqJ8/RfjXYSE=; b=PT3M1SEhGpJvxJczBwWUwlZmSjtZzwlxDJ729A9tEyalOi+6tMZyJJVTejHhDV+hDv JXMNCejapVk3m5n+piy2Pay8gmxxhbutADhC/q1amS1iZn/OSnqQWjx2vwaDjXVL8CAA oUuRm0w/69tHgY5ywahH0jUuzdsS1Em9jaoNlCLFKfT0Lv5lSNMdS2+vdEia5+0P/3Tq nUepJSZrgNhOwiwfN5W1REpqxZ9VREyDvp5XD1bqYD2HcrkQWrVsV3SlG6veM0WKaLrQ 3QBZz0hljh5HKVVDr0cFjcVDH+SqPqFUfHA1EeyFkc78wnMz+yIgKXjHdqYto8PZzSLk rCZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hwBrFhNu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id da5si13962541edb.261.2020.11.02.16.39.22; Mon, 02 Nov 2020 16:39:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hwBrFhNu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727451AbgKCAez (ORCPT + 99 others); Mon, 2 Nov 2020 19:34:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:43802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727397AbgKCAew (ORCPT ); Mon, 2 Nov 2020 19:34:52 -0500 Received: from DESKTOP-GFFITBK.localdomain (218-161-90-76.HINET-IP.hinet.net [218.161.90.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 68C5E222BA; Tue, 3 Nov 2020 00:34:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604363692; bh=lTpLhzDjSDTTURd3W5N9blth+oNQ5+Nrm4FhEgCT15Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hwBrFhNuuP6NcYTRyxaNLIjTevn1WN3JvCQ6T9RCUvEnS2Ai/qi+ptIkGAmsRo3eL OP+ZjHOpsNA4MZqSNOAX/PFaBSCT3l2rmnMEqeKY/7or2ZAhHVspo1mbgUJ5vLwTqH dOV8kjNrLVge6tOAY/OeJKWjdQAAlt7dj/LFSHBo= From: Chun-Kuang Hu To: Philipp Zabel , David Airlie , Daniel Vetter Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, CK Hu , Chun-Kuang Hu Subject: [PATCH 05/11] drm/mediatek: Remove irq in struct mtk_ddp_comp Date: Tue, 3 Nov 2020 08:34:16 +0800 Message-Id: <20201103003422.17838-6-chunkuang.hu@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201103003422.17838-1-chunkuang.hu@kernel.org> References: <20201103003422.17838-1-chunkuang.hu@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: CK Hu irq in struct mtk_ddp_comp is useless, so remove it. Signed-off-by: CK Hu Signed-off-by: Chun-Kuang Hu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c index 2a3ba50d5397..27daff9458d6 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c +++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include @@ -559,11 +558,9 @@ int mtk_ddp_comp_init(struct device_node *node, struct mtk_ddp_comp *comp, comp_id == DDP_COMPONENT_DSI2 || comp_id == DDP_COMPONENT_DSI3 || comp_id == DDP_COMPONENT_PWM0) { - comp->irq = 0; return 0; } - comp->irq = of_irq_get(node, 0); comp_pdev = of_find_device_by_node(node); if (!comp_pdev) { DRM_INFO("Waiting for device %s\n", node->full_name); -- 2.17.1