From patchwork Tue Oct 2 08:13: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: 1536241 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 94E3DDF238 for ; Tue, 2 Oct 2012 08:16:54 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TIxd4-0004rn-GE; Tue, 02 Oct 2012 08:14:58 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TIxbx-0004Qj-Lt for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2012 08:13:50 +0000 Received: by mail-wi0-f171.google.com with SMTP id hj13so374186wib.0 for ; Tue, 02 Oct 2012 01:13:49 -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=21LGz1McSuSlvbFmVly4Ih0iAJnbIDt4v6dCm3LEmQM=; b=ZLJaQlAjFHhYfvLkrFWnZvGf8dgjlixUxAOE1k8DBFByeSu4hqCJkSFjZc1zNsk/i6 Fx/dE6h0sRQqOsDCsgHeI1XFQpzK9NUkizBoU/aCNGmu56zYe3Uu0Erbt7cZAHp/3iLW Sh2+kuIK0bc4dHydUstN3wFUBnfLFj1vtkJlDhPkaWSdcd3PPIlY4KoyEQjLSnHtqQE+ taf25H05sEVIszdDk+UhLm5uWSo4AVp6ws4ilTM/jFO6+s5oYN6dZVP/bOvQco8Pupw+ etvRU/FK0RqYYoOiB/AfjHUplPD17vb2EQZXcEmsbW0XcG86fmsG497VUUMffzfhvZTp Sjzg== Received: by 10.216.226.98 with SMTP id a76mr9898333weq.5.1349165628631; Tue, 02 Oct 2012 01:13:48 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id p4sm1193936wix.0.2012.10.02.01.13.46 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 01:13:47 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/10] ARM: ux500: Stop informing the regulator subsystem that we have full constraints Date: Tue, 2 Oct 2012 09:13:23 +0100 Message-Id: <1349165603-24401-11-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1349165603-24401-1-git-send-email-lee.jones@linaro.org> References: <1349165603-24401-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQklVDOhzhcyiSwzC8iOyAVz9g4ZPatdZJJWEWazbFiyCqP2Zg0KNKRxDtCpVUZTUWqqhbyc X-Spam-Note: CRM114 invocation failed 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.212.171 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de 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 The regulator_has_full_constraints() call is not required if we are booting with Device Tree as it's assumed in this case. Signed-off-by: Lee Jones Acked-by: Linus Walleij --- arch/arm/mach-ux500/cpu-db8500.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index f85659b..9f87b4d 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -325,9 +325,6 @@ static void __init u8500_init_machine(void) /* automatically probe child nodes of db8500 device */ of_platform_populate(NULL, u8500_local_bus_nodes, u8500_auxdata_lookup, parent); - - /* This board has full regulator constraints */ - regulator_has_full_constraints(); } static const char * u8500_dt_board_compat[] = {