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: 12653 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 574BC23FBB for ; Sat, 3 Nov 2012 22:02:51 +0000 (UTC) Received: from mail-da0-f52.google.com (mail-da0-f52.google.com [209.85.210.52]) by fiordland.canonical.com (Postfix) with ESMTP id BAA1EA18D05 for ; Sat, 3 Nov 2012 22:02:50 +0000 (UTC) Received: by mail-da0-f52.google.com with SMTP id f10so2036033dak.11 for ; Sat, 03 Nov 2012 15:02:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=XqmDsY8bZ/E1IK2qngoMit32RXhZFxJ+5XDuiqoYalI=; b=h0lJWZ0/YOXX6EyKMPzoW+11yr/LMC76mlAANBLD57vGE086Dq8bgezsIVc1QI9+hh cc5jurrZT+UBWXeFzOGrFCzATMMENay0fjkBLEVLCNxZdp8ahf/Lm3QWSCkfxaxnq0Mc Sol9Fq0K5eYbqVj5LYqf4mEqyvdFNiZlJ/Bv6B1p+jGBIr6PGJT0GbxKxAAJZusI1uhX 2RBkeZnF0sSeB9WD+OUwvM2AOylKEtSJNiJT7g+bskKAco9Irf9bgA1Qk5RZU3KWXp+n nZ9+kXbjdoALo7jpXIGnIF8EyzTQScw5iTJ0dyUDiL2biBZW9lgjoAzaRJtXenejL7bR ou9A== Received: by 10.66.85.66 with SMTP id f2mr16634264paz.56.1351980170468; Sat, 03 Nov 2012 15:02:50 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.68.34.137 with SMTP id z9csp94632pbi; Sat, 3 Nov 2012 15:02:49 -0700 (PDT) Received: by 10.14.184.2 with SMTP id r2mr20277268eem.43.1351980169175; Sat, 03 Nov 2012 15:02:49 -0700 (PDT) Received: from mail-ea0-f175.google.com (mail-ea0-f175.google.com [209.85.215.175]) by mx.google.com with ESMTPS id a9si635963eeo.54.2012.11.03.15.02.48 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Nov 2012 15:02:49 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.175 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.215.175; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.215.175 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-ea0-f175.google.com with SMTP id c1so1917173eaa.34 for ; Sat, 03 Nov 2012 15:02:48 -0700 (PDT) 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 Cc: Lee Jones , Russell King , linux-arm-kernel@lists.infradead.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: ALoCoQnLsPWD9G7Es8keilOe5150hj0OzSoUwIF2ZfKBsvg0kQGuQyVjcwWZINIri+kAS7BvSMAR 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) {