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: 22320 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 71A04202E2 for ; Fri, 13 Dec 2013 08:31:42 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id c14sf3116511vea.10 for ; Fri, 13 Dec 2013 00:31:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=Ui7gE4MBDb0Mbzl4bT5l10fR11B5csg6CG7nIjiT2lE=; b=Oc19giMGJFas20QgY7WVNTb6bQu2YM1+QJxpynuzZmEx/jNHl7zDRGHW7VfZ0qxAvu ii0hnSjKuYyuV6dKQ2AIJ9sTZkI9FBLpNcY/wM1kIJ+sYVrJHt971OM/8CYgAMeevU5q DGfhhaLR7IYurs77R+4dv3PT9WPPL5CKce/Nho+vvtFSXODYVFGmOImk90eFdE40Yji6 gNxHT6zOy2n8Y11qVz54g7Na+nW0+a77WfBk4E0G0Qp0yTVHP3bhqsbI/Dj223cNBhJW 0K5SkH8lmVO2HdEI5g/Veivb+OGRTf3XSocI6pq/Uk+0Xszy3w8A00KuwYi5z0MRvb9g A56w== X-Gm-Message-State: ALoCoQmQ4jhtOt/mPXAfcFQvl/kO9VduKJ2V0b8iGU0Fkinkx3ymcVr3JAClY61d1LUZ3rSNB2x9 X-Received: by 10.58.204.2 with SMTP id ku2mr210360vec.39.1386923501817; Fri, 13 Dec 2013 00:31:41 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.58.229 with SMTP id u5ls874297qeq.69.gmail; Fri, 13 Dec 2013 00:31:41 -0800 (PST) X-Received: by 10.220.11.7 with SMTP id r7mr662653vcr.12.1386923501727; Fri, 13 Dec 2013 00:31:41 -0800 (PST) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id a6si479011vdp.13.2013.12.13.00.31.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 00:31:41 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.53; Received: by mail-vb0-f53.google.com with SMTP id o19so1055375vbm.40 for ; Fri, 13 Dec 2013 00:31:41 -0800 (PST) X-Received: by 10.58.154.6 with SMTP id vk6mr193269veb.61.1386923501652; Fri, 13 Dec 2013 00:31:41 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp19363vcz; Fri, 13 Dec 2013 00:31:41 -0800 (PST) X-Received: by 10.152.120.7 with SMTP id ky7mr26187lab.83.1386923500212; Fri, 13 Dec 2013 00:31:40 -0800 (PST) Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by mx.google.com with ESMTPS id 6si479945laz.5.2013.12.13.00.31.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 00:31:40 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.44 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.215.44; Received: by mail-la0-f44.google.com with SMTP id ep20so1151106lab.31 for ; Fri, 13 Dec 2013 00:31:39 -0800 (PST) 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 Cc: Lee Jones , Ulf Hansson 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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);