From patchwork Wed May 30 04:47:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9022 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 0138E23E58 for ; Wed, 30 May 2012 04:48:13 +0000 (UTC) Received: from mail-gh0-f178.google.com (mail-gh0-f178.google.com [209.85.160.178]) by fiordland.canonical.com (Postfix) with ESMTP id C43A9A185A7 for ; Wed, 30 May 2012 04:48:12 +0000 (UTC) Received: by ghbf1 with SMTP id f1so2923337ghb.37 for ; Tue, 29 May 2012 21:48:12 -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=chOlQ7v9ceED1z59EIavCGmdACmeBF1SIs1aUajhVGc=; b=n41mZsTbfPRSL/UuFWXklvttHmCyauB3QlEk/JQzdajY6tHXZeRa7D589oKEUQpH1a Rs+wziWhfX5YxsVZvj7XvH/UBX/rgCq0Ww4L6G954db+gt8jRFUOvCoPqIi6h001vY4Q s6Ub6QomKBLNwwy5g/cuV5UEwiBVjD8EyTnH3PV4XmzXRY1Ofa6PbQBUC7ShwcJT+FHV nZQa/wlw02xcy+vETNQeGsesgO7XI/2J6cz8AVzFYqro3nvsHC68j+anCl8qYJ1XO6o+ 8KxS92SUeqceMwjPBQa1OpOw5X7ShnQGk8UBfafMm4sxuSTpfpH+rgxQ+OovDAPhuVZX Y08w== Received: by 10.42.210.193 with SMTP id gl1mr5609433icb.57.1338353292089; Tue, 29 May 2012 21:48:12 -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.231.24.148 with SMTP id v20csp170232ibb; Tue, 29 May 2012 21:48:11 -0700 (PDT) Received: by 10.68.136.167 with SMTP id qb7mr44993513pbb.82.1338353291493; Tue, 29 May 2012 21:48:11 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id kg6si23391939pbc.215.2012.05.29.21.48.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 May 2012 21:48:11 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 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-pb0-f50.google.com with SMTP id rr4so7848714pbb.37 for ; Tue, 29 May 2012 21:48:11 -0700 (PDT) Received: by 10.68.221.72 with SMTP id qc8mr45542711pbc.63.1338353291282; Tue, 29 May 2012 21:48:11 -0700 (PDT) Received: from localhost.localdomain ([118.143.64.134]) by mx.google.com with ESMTPS id kd6sm25122557pbc.24.2012.05.29.21.48.08 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 May 2012 21:48:10 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linus.walleij@stericsson.com, grant.likely@secretlab.ca, cjb@laptop.org, broonie@opensource.wolfsonmicro.com, sameo@linux.intel.com Cc: Lee Jones Subject: [PATCH 04/22] ARM: ux500: Remove DB8500 PRCMU platform registration when DT is enabled Date: Wed, 30 May 2012 12:47:22 +0800 Message-Id: <1338353260-10097-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1338353260-10097-1-git-send-email-lee.jones@linaro.org> References: <1338353260-10097-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnJiDa2OK3t3w9lTTs/ekkzV4e1sgMGjmv23z0NbazPSa7cNWU1tViV741OAsXjARDeio2E Now the DB8500 has Device Tree support it will be probed when the DT is parsed, rendering the requirement for platform registration void. This patch removes DB8500 PRCMU platform registration. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/cpu-db8500.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index 04244b0..33275eb 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -140,7 +140,6 @@ static struct platform_device *platform_devs[] __initdata = { static struct platform_device *of_platform_devs[] __initdata = { &u8500_dma40_device, &db8500_pmu_device, - &db8500_prcmu_device, }; static resource_size_t __initdata db8500_gpio_base[] = { @@ -251,7 +250,7 @@ struct device * __init u8500_of_init_devices(void) * Devices to be DT:ed: * u8500_dma40_device = todo * db8500_pmu_device = todo - * db8500_prcmu_device = todo + * db8500_prcmu_device = done */ platform_add_devices(of_platform_devs, ARRAY_SIZE(of_platform_devs));