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: 11910 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 D0A1B24146 for ; Tue, 2 Oct 2012 08:13:51 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 83922A1809F for ; Tue, 2 Oct 2012 08:13:51 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so13594640iej.11 for ; Tue, 02 Oct 2012 01:13:51 -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=21LGz1McSuSlvbFmVly4Ih0iAJnbIDt4v6dCm3LEmQM=; b=AeIodb4I5Hp5bAzLcq1vQ6BqIWyB3HPFDswt4HLsVJN6j1BgVddiNpSIrurHqIBjEN r3SVDIFMnSBsQdaaMnQSNAxiPoNjxEZcZxSLDehoNHqZz/Lq2J75jLVeNOJFTzNnDGi3 Jf97VWLFxfZ/sKjdSWEGWxo6hBhGrzUI1tCsiChfkpb7fhMSgaVh8bicEOTPgSbJcwDd CbwiUPHM/LmssnSVDILUYj2+9GFGQ/aDWAT58cfpEZHzgNXsZFmqgXeR7yNLnp9R2mHu Dml103MaTfzOmZOpuJzBBX7WpnFKlnNtbg5OpFdZW5leJ88aBZ0VdyYD0Zp2sLD7GwN+ zyeQ== Received: by 10.42.84.69 with SMTP id k5mr13421474icl.5.1349165631307; Tue, 02 Oct 2012 01:13:51 -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.232 with SMTP id ex8csp69902igc; Tue, 2 Oct 2012 01:13:50 -0700 (PDT) Received: by 10.216.93.80 with SMTP id k58mr8457260wef.98.1349165629783; Tue, 02 Oct 2012 01:13:49 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id h18si804576wiw.39.2012.10.02.01.13.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 01:13:49 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 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-wi0-f172.google.com with SMTP id hq12so402456wib.13 for ; Tue, 02 Oct 2012 01:13:49 -0700 (PDT) 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 Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones 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: ALoCoQkkS4xkpUJWgvRYr2l5r5d4TzBtV7LnYYZi6Z0wjUEeUn35vztuLRNpZl3VTSC87eRZK/cU 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 --- 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[] = {