From patchwork Wed Aug 8 14:47:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10589 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 784C723F00 for ; Wed, 8 Aug 2012 14:47:40 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 44765A190AC for ; Wed, 8 Aug 2012 14:47:40 +0000 (UTC) Received: by yhpp61 with SMTP id p61so842435yhp.11 for ; Wed, 08 Aug 2012 07:47:39 -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-provags-id:x-gm-message-state; bh=eTsLTG/WjX+QchGqrwz7fHnAmqfTMo/1l2P6VmUs4Ho=; b=XHYDbp7XOBxWbT0hB4Esn2mzSneLYOZ2y7ypIOE43Pn22kqqld/gmQuENcbHjUBKay 4P3YRadVG5n6yyzZ03ZSVLBws3QrkowZHFxI+5Y2+GQzIklWcs5807+ktW8IfRtnIw7E 7yzZ2ByLBD9IWJf0QM8sGLKntcQlkPjCPvwz1zOlfXvXBf3SkWXDmc0rOlYQlaAxy1bQ y+67eoehZE4VZEfBoIk+CVqWt+GqvBJPKzrJv8dDJajmTbWA9FiTaPgPSQbZArELCwkY kTsX3MOzkm5wtSUeR1wMvxs3ALsMbIhCHOkTQJzwnaDPAFT80n1nmSBCBy7uQXJ1Mnkq h2Mg== Received: by 10.50.186.131 with SMTP id fk3mr1235421igc.31.1344437259129; Wed, 08 Aug 2012 07:47:39 -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.50.184.200 with SMTP id ew8csp611862igc; Wed, 8 Aug 2012 07:47:38 -0700 (PDT) Received: by 10.204.128.68 with SMTP id j4mr2695744bks.122.1344437257534; Wed, 08 Aug 2012 07:47:37 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.126.171]) by mx.google.com with ESMTP id im19si1278606bkc.112.2012.08.08.07.47.36; Wed, 08 Aug 2012 07:47:37 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.126.171 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.126.171; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.126.171 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de Received: from klappe2.boeblingen.de.ibm.com (deibp9eh1--blueice3n2.emea.ibm.com [195.212.29.180]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MdoPF-1TOb3T0gmL-00QJzt; Wed, 08 Aug 2012 16:47:34 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: arm@kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Lee Jones , Linus Walleij Subject: [PATCH 04/11] ARM: ux500: really kill snowball_of_platform_devs Date: Wed, 8 Aug 2012 16:47:21 +0200 Message-Id: <1344437248-20560-5-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1344437248-20560-1-git-send-email-arnd@arndb.de> References: <1344437248-20560-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:/35aJrBAerbmOJVHp2aioz0J14iTcLHw5wxZIPLeanu lYU+jM6Df25SNWpQZdCAJMQDM7QmJbGNAyjPrhJi23TmybmQQE IbaEdspVUU8iLh60dn5dvW4aOZWsio9Pa/XBZdrxnbBLYD9+9Z JX65HEgPCJSRvUgC5eHYzec37zSoaje/i0x+4IKiIBaOULT/TY TvlBY9TCs7AsdKKsx/hJZPu3aoWLEcH9qQ4uzK9bAkEnCIaCB6 5D6cBCug7toZqSMDOe0sUyEakz4hotrdjc6cvPW0CG6Y+PqPtk U6xS8f1wfW1t4lMWIpKAIytSiTksxun77MlIkWYsUGf8OtZBLe Chga9St3wI93Xdit1iD4dFhSBAMTCgrVKa4Pn6BIy/z2LrTfHA qZu3Vc3W+usupqLlONKPRmWbKYKqvWMTeY= X-Gm-Message-State: ALoCoQlep/buYiF7CJDeAsDU4jMkeTU+M4+TvQdJ/uIo0OYri0MeV5V7uoMzDlCYbpeMDDBntKN1 Commit fc67a597a "ARM: ux500: Remove temporary snowball_of_platform_devs enablement structure" removed the only user of this variable, but did not actually remove the array itself. Without this patch, building u8500_defconfig results in: arch/arm/mach-ux500/board-mop500.c:729:32: warning: 'snowball_of_platform_devs' defined but not used [-Wunused-variable] Signed-off-by: Arnd Bergmann Cc: Lee Jones Cc: Linus Walleij --- arch/arm/mach-ux500/board-mop500.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 8674a89..2a732f7 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -726,11 +726,6 @@ MACHINE_END #ifdef CONFIG_MACH_UX500_DT -static struct platform_device *snowball_of_platform_devs[] __initdata = { - &snowball_led_dev, - &snowball_key_dev, -}; - struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = { /* Requires DMA and call-back bindings. */ OF_DEV_AUXDATA("arm,pl011", 0x80120000, "uart0", &uart0_plat),