* [PATCH V2 3/3] ARM: ux500: regulators: Remove dead code for SD-card regulator
@ 2013-12-13 8:31 Ulf Hansson
2013-12-13 9:30 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Ulf Hansson @ 2013-12-13 8:31 UTC (permalink / raw)
To: linux-arm-kernel
The signal-voltage regulator is handled through a gpio regulator
configured in DT. Remove the old dead code.
Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
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);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH V2 3/3] ARM: ux500: regulators: Remove dead code for SD-card regulator
2013-12-13 8:31 [PATCH V2 3/3] ARM: ux500: regulators: Remove dead code for SD-card regulator Ulf Hansson
@ 2013-12-13 9:30 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2013-12-13 9:30 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Dec 13, 2013 at 9:31 AM, Ulf Hansson <ulf.hansson@linaro.org> wrote:
> The signal-voltage regulator is handled through a gpio regulator
> configured in DT. Remove the old dead code.
>
> Cc: Lee Jones <lee.jones@linaro.org>
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This v2 version applied to the ux500-devicetree branch.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-13 9:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-13 8:31 [PATCH V2 3/3] ARM: ux500: regulators: Remove dead code for SD-card regulator Ulf Hansson
2013-12-13 9:30 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).