From patchwork Sat Nov 3 22:02:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1693081 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 59D76DFB7B for ; Sat, 3 Nov 2012 22:04:57 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TUlnx-0006sg-2t; Sat, 03 Nov 2012 22:03:01 +0000 Received: from mail-ea0-f177.google.com ([209.85.215.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TUlno-0006rn-Qh for linux-arm-kernel@lists.infradead.org; Sat, 03 Nov 2012 22:02:53 +0000 Received: by mail-ea0-f177.google.com with SMTP id n13so1817432eaa.36 for ; Sat, 03 Nov 2012 15:02:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=XqmDsY8bZ/E1IK2qngoMit32RXhZFxJ+5XDuiqoYalI=; b=Ej79kql9f3PNfZoZjGYNvhpUHi4Zzp7QW3jVbSK/GE3o2Ori5Sa3ZoZwE1DmjsJ5a6 6WEk0qma7MI0Hi3gt8iUXP+RsHzgRLmxaIKaSn3fSVGl4GOopR/zLFZomxcjxQvkZ3rV msEL/L+Jxwp0UgnS6Sli2FEeqoQOH/EMsCR+b6DUZgBBKePQVUAyGUjOXBBJnirKVRhr kTBIXVSDbfNdG5L+v+74hEbD2i65HkSAdkXcf6Zpk6UGI8HLQOxg/sSFMCFsoq44fdty YA+iMerK+MIkSgWS2vmTRaqwmhbliuiKekLQmkJ2DdWFcagZ4TUlXezd78O0l80ex/eM fxPA== Received: by 10.14.223.4 with SMTP id u4mr20336197eep.19.1351980168507; Sat, 03 Nov 2012 15:02:48 -0700 (PDT) Received: from localhost.localdomain (88.Red-2-139-206.staticIP.rima-tde.net. [2.139.206.88]) by mx.google.com with ESMTPS id d44sm34844369eeo.10.2012.11.03.15.02.47 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Nov 2012 15:02:47 -0700 (PDT) From: Lee Jones To: linux-kernel@vger.kernel.org Subject: [PATCH 2/9] ARM: at91: Remove unused struct at91sam9g45_isi_device and its resources Date: Sat, 3 Nov 2012 23:02:23 +0100 Message-Id: <1351980150-24145-3-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351980150-24145-1-git-send-email-lee.jones@linaro.org> References: <1351980150-24145-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQl4NrOESoqVmA0bZdNhw5ATWc6N4on4W9VX4oBDoyRf4WEIdt0Xg+qKX0q68i02j5ZoqSdS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121103_180253_067225_A0975B11 X-CRM114-Status: GOOD ( 11.63 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Russell King , Lee Jones , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This the at91sam9g45_isi_device structure and its associated resources were added in 2008 and have been unused ever since. Let's remove them. Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Lee Jones --- arch/arm/mach-at91/at91sam9263_devices.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c index cb85da2..0562a9d 100644 --- a/arch/arm/mach-at91/at91sam9263_devices.c +++ b/arch/arm/mach-at91/at91sam9263_devices.c @@ -901,26 +901,6 @@ void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data) {} #if defined(CONFIG_VIDEO_AT91_ISI) || defined(CONFIG_VIDEO_AT91_ISI_MODULE) -struct resource isi_resources[] = { - [0] = { - .start = AT91SAM9263_BASE_ISI, - .end = AT91SAM9263_BASE_ISI + SZ_16K - 1, - .flags = IORESOURCE_MEM, - }, - [1] = { - .start = NR_IRQS_LEGACY + AT91SAM9263_ID_ISI, - .end = NR_IRQS_LEGACY + AT91SAM9263_ID_ISI, - .flags = IORESOURCE_IRQ, - }, -}; - -static struct platform_device at91sam9263_isi_device = { - .name = "at91_isi", - .id = -1, - .resource = isi_resources, - .num_resources = ARRAY_SIZE(isi_resources), -}; - void __init at91_add_device_isi(struct isi_platform_data *data, bool use_pck_as_mck) {