Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4591008imu; Tue, 15 Jan 2019 02:41:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN4HVaijVcNsYBZeyH55L7Mtc/Fzfofg4RRTxSi+BIsJp1eMHVLrnRWKg7wz0MqjqP5XtZY9 X-Received: by 2002:a17:902:2:: with SMTP id 2mr3490661pla.228.1547548893421; Tue, 15 Jan 2019 02:41:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547548893; cv=none; d=google.com; s=arc-20160816; b=pDNCP4O/LuPm6YgvwcjyiV+0odqV0NKm1Zf4Z7AbKMk/TfEp4glOb+K8iVOPzC1C+9 jhhtCGAHhCqrJ4Eq/cM1HAsmbYlxl8DL1l+gHrobaKL1jhKlC7LHQTcfJAqPG4J6t1u9 0Lv/wBf0jfmVQZr9qJFqRm7FJUOeZBzKqaJEiUVbmKCu/8twd/RUB7MMTiP7l2K3LZDZ emMMx1oBmNvf/QG44aQe8qJDhL4mjIMIqAuQYNG9GSzKjq0iaSHMk6sfFmN9LcEs1vzZ j5iaYX5RNggp+fPHWNyB+XER8wR3QesH/tIW58TWydE0E2XKB3jute1XU41fioaEScAo zeiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+/PK8GhONTvFR9zopmkRVXSLObOlCht+DZ1VPMI4iJc=; b=PZh6QXdGU4CdKweC+JYgATH5640o9eOqVDUQFHS9WsABLL1qSXVijCtrZ+xf3ag65U dqjhPGwPUWTrzt76YHGhCXdAuvkpYYw4ti3kMH65qMn3TCgeEMhrNYbEgMFGoFd2dVL5 NKmrBel5Fo4iIKxfuG0qa2csYaklh1pKZgzYM0ME0UznotgyqJdeX5ZopLIKHR+Q8UDu J/BzsmKJy5WxEVC9q/IuVJokSqjDm67FOzOXutwTx2pBJiBDmCt+J1LCyTIuX/YgBV1J +oNMLwj/sL1o4UiGDjYu3VWOieS33sLO3ubq39cOZbWcxur1lCmKx2+V976FfwbgP4Gy tzzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o85si2933312pfa.162.2019.01.15.02.41.17; Tue, 15 Jan 2019 02:41:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729000AbfAOKkE (ORCPT + 99 others); Tue, 15 Jan 2019 05:40:04 -0500 Received: from [217.140.106.52] ([217.140.106.52]:58957 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727231AbfAOKkD (ORCPT ); Tue, 15 Jan 2019 05:40:03 -0500 X-Greylist: delayed 1453 seconds by postgrey-1.27 at vger.kernel.org; Tue, 15 Jan 2019 05:40:03 EST Received: from e110455-lin.cambridge.arm.com (e110455-lin.cambridge.arm.com [10.2.131.2]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id x0FAFiBw007271; Tue, 15 Jan 2019 10:15:44 GMT From: Liviu Dudau To: James Wang Cc: Brian Starkey , David Airlie , Daniel Vetter , DRI devel , LKML , Liviu Dudau Subject: [PATCH] drm: arm/komeda: Remove IRQ parsing from initial series Date: Tue, 15 Jan 2019 10:15:44 +0000 Message-Id: <20190115101544.8653-1-Liviu.Dudau@arm.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The initial series is only introducing the basic components and not implementing IRQ handling. Remove the left over code that touches IRQs until the proper implementation is introduced in a later series. Signed-off-by: Liviu Dudau --- drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 5 ----- drivers/gpu/drm/arm/display/komeda/komeda_dev.h | 3 --- drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 4 +--- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c index 84fdf707f2107..16f4e72abc1a3 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c +++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c @@ -59,11 +59,6 @@ static int komeda_parse_dt(struct device *dev, struct komeda_dev *mdev) return PTR_ERR(clk); mdev->mclk = clk; - mdev->irq = platform_get_irq(pdev, 0); - if (mdev->irq < 0) { - DRM_ERROR("could not get IRQ number.\n"); - return mdev->irq; - } for_each_available_child_of_node(np, child) { if (of_node_cmp(child->name, "pipeline") == 0) { diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.h b/drivers/gpu/drm/arm/display/komeda/komeda_dev.h index a0bf7050037a0..0f77dead6a237 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.h +++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.h @@ -81,9 +81,6 @@ struct komeda_dev { /** @mck: HW main engine clk */ struct clk *mclk; - /** @irq: irq number */ - u32 irq; - int n_pipelines; struct komeda_pipeline *pipelines[KOMEDA_MAX_PIPELINES]; diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c index f41b20235130b..3fc096d3883e8 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_kms.c +++ b/drivers/gpu/drm/arm/display/komeda/komeda_kms.c @@ -142,12 +142,10 @@ struct komeda_kms_dev *komeda_kms_attach(struct komeda_dev *mdev) err = drm_dev_register(drm, 0); if (err) - goto uninstall_irq; + goto cleanup_mode_config; return kms; -uninstall_irq: - drm_irq_uninstall(drm); cleanup_mode_config: drm_mode_config_cleanup(drm); free_kms: -- 2.20.1