From patchwork Fri Dec 13 08:31:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 3338861 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CBBC0C0D4A for ; Fri, 13 Dec 2013 08:32:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 84BC1207D3 for ; Fri, 13 Dec 2013 08:32:16 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5040B206DD for ; Fri, 13 Dec 2013 08:32:15 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrOAL-00077N-AV; Fri, 13 Dec 2013 08:32:09 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrOAI-0008DA-UX; Fri, 13 Dec 2013 08:32:06 +0000 Received: from mail-la0-f45.google.com ([209.85.215.45]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VrOAF-0008Cr-KG for linux-arm-kernel@lists.infradead.org; Fri, 13 Dec 2013 08:32:04 +0000 Received: by mail-la0-f45.google.com with SMTP id eh20so1136451lab.18 for ; Fri, 13 Dec 2013 00:31:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ui7gE4MBDb0Mbzl4bT5l10fR11B5csg6CG7nIjiT2lE=; b=em26KhYxxFqnklCnhmmVL7Hq7x03dVNSLuQwXMaNhO+pRZEulI37Au9SM8ou/JRI3T dkjEziFRy8hFZL37FuT8zFZxHuRWEfPwb3EgQkiJGcloZiJBu0zfL0asitDK7jy3Vhdb Lx0pqmPyc3dOuD6llgUvSrFGli1wCjNE7saX5OgsrtrMcjFfYfSB2c7W/XmiizkmtzWe oz+iZ19AfhTagolOZwZDXOVGVw8mEq5OJthVWZKxa8nDmj+DjQC2OIknyPizwobsRDwU /sGbT+Mrrihg5xg6SpK6AWkIDq3Lk7V0gDiuxY8/LNfQVXX8LrdXfS0bFG+MmSDw8NnE oa+Q== X-Gm-Message-State: ALoCoQkxmLS3WU2+EOx9jhG/G/JU8trJfcicZ3RCDae8h0rIT0B80TJtMzMEKU/fYMm3kWHJQ/Yt X-Received: by 10.152.23.39 with SMTP id j7mr798222laf.28.1386923499541; Fri, 13 Dec 2013 00:31:39 -0800 (PST) Received: from linaro-ulf.lan (90-231-160-185-no158.tbcn.telia.com. [90.231.160.185]) by mx.google.com with ESMTPSA id ld10sm2570023lab.8.2013.12.13.00.31.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 00:31:38 -0800 (PST) From: Ulf Hansson To: linux-arm-kernel@lists.infradead.org, Linus Walleij Subject: [PATCH V2 3/3] ARM: ux500: regulators: Remove dead code for SD-card regulator Date: Fri, 13 Dec 2013 09:31:33 +0100 Message-Id: <1386923493-9286-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131213_033203_808122_6F534A0E X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Ulf Hansson , Lee Jones X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The signal-voltage regulator is handled through a gpio regulator configured in DT. Remove the old dead code. Cc: Lee Jones Signed-off-by: Ulf Hansson --- arch/arm/mach-ux500/board-mop500-regulators.c | 14 -------------- arch/arm/mach-ux500/board-mop500-regulators.h | 1 - 2 files changed, 15 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index 0dc44c6..a4e139a 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.c +++ b/arch/arm/mach-ux500/board-mop500-regulators.c @@ -30,20 +30,6 @@ struct regulator_init_data gpio_en_3v3_regulator = { .consumer_supplies = gpio_en_3v3_consumers, }; -static struct regulator_consumer_supply sdi0_reg_consumers[] = { - REGULATOR_SUPPLY("vqmmc", "sdi0"), -}; - -struct regulator_init_data sdi0_reg_init_data = { - .constraints = { - .min_uV = 1800000, - .max_uV = 2900000, - .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE|REGULATOR_CHANGE_STATUS, - }, - .num_consumer_supplies = ARRAY_SIZE(sdi0_reg_consumers), - .consumer_supplies = sdi0_reg_consumers, -}; - /* * TPS61052 regulator */ diff --git a/arch/arm/mach-ux500/board-mop500-regulators.h b/arch/arm/mach-ux500/board-mop500-regulators.h index 039f513..9bece38 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.h +++ b/arch/arm/mach-ux500/board-mop500-regulators.h @@ -18,7 +18,6 @@ extern struct ab8500_regulator_platform_data ab8500_regulator_plat_data; extern struct ab8500_regulator_platform_data ab8505_regulator_plat_data; extern struct regulator_init_data tps61052_regulator; extern struct regulator_init_data gpio_en_3v3_regulator; -extern struct regulator_init_data sdi0_reg_init_data; void mop500_regulator_init(void);