From patchwork Mon Oct 7 08:34:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2994961 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C56DDBF924 for ; Mon, 7 Oct 2013 08:40:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B0417201BF for ; Mon, 7 Oct 2013 08:39:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9C8E0201BD for ; Mon, 7 Oct 2013 08:39:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F647E6B0A for ; Mon, 7 Oct 2013 01:39:58 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by gabe.freedesktop.org (Postfix) with ESMTP id 7FBFAE66C7 for ; Mon, 7 Oct 2013 01:36:46 -0700 (PDT) Received: by mail-bk0-f52.google.com with SMTP id e11so2405249bkh.25 for ; Mon, 07 Oct 2013 01:36:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YbD+XxkGeYfnVWjyNsEtxWmcYPlX7IBFNIk62OLw4Dk=; b=i2c5y18w/iTk5XFFh/OoKEUtaI9Xv/Az5WECV/mTI3HbK0AZh4JgozZmA7Q3JSqH+Q wXtA2n6u/uo7iaue1aa0KwxuHKz1x5rBMH+xWLT59SHINEhghfCnK7GWE7u013QOW2h/ QpPobRzuQY2N2D9/keUKrjpp/al7SPTov94fNJq8OQuhEXfsL1RovRsUQ+3pcewH/DA9 f6M8jomgkmQbMem6ONS5e/biSSnBL0XHTaSppMqbQFUAyBplMOMy9BZ/KiJ8KBG6PbwY GtwDxoJe0ydaohdJgx2eE17xBlOl6qWsBfO3eQ+1JUgd3kynhGbUm6oAznAY+AOwpvUL 7lqw== X-Received: by 10.205.76.133 with SMTP id ze5mr528136bkb.37.1381135005548; Mon, 07 Oct 2013 01:36:45 -0700 (PDT) Received: from localhost (port-46445.pppoe.wtnet.de. [46.59.230.36]) by mx.google.com with ESMTPSA id on10sm16322123bkb.13.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Oct 2013 01:36:44 -0700 (PDT) From: Thierry Reding To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 02/27] drm/tegra: Cleanup tegra_dc structure Date: Mon, 7 Oct 2013 10:34:19 +0200 Message-Id: <1381134884-5816-3-git-send-email-treding@nvidia.com> X-Mailer: git-send-email 1.8.4 In-Reply-To: <1381134884-5816-1-git-send-email-treding@nvidia.com> References: <1381134884-5816-1-git-send-email-treding@nvidia.com> Cc: linux-tegra@vger.kernel.org, devicetree@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove the unused host1x field from the structure and group the fields more logically. Signed-off-by: Thierry Reding --- drivers/gpu/host1x/drm/drm.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/host1x/drm/drm.h b/drivers/gpu/host1x/drm/drm.h index f7cd946..b8d9f43 100644 --- a/drivers/gpu/host1x/drm/drm.h +++ b/drivers/gpu/host1x/drm/drm.h @@ -94,16 +94,13 @@ struct tegra_output; struct tegra_dc { struct host1x_client client; - spinlock_t lock; - - struct host1x_drm *host1x; struct device *dev; + spinlock_t lock; struct drm_crtc base; int pipe; struct clk *clk; - void __iomem *regs; int irq;