From: Lee Jones Date: Mon, 19 Aug 2013 15:27:28 +0000 (+0100) Subject: ARM: ux500: Remove support for Snowball's Ethernet regulator when booting with ATAGs X-Git-Tag: v3.13-rc1~156^2~11^2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c443bf79fb8d4310fecb8e3397489927dea9799f;p=kernel%2Fkernel-generic.git ARM: ux500: Remove support for Snowball's Ethernet regulator when booting with ATAGs It's time to remove all ATAG support from ux500 and rely solely on Device Tree booting. This patch is part of that endeavour. Signed-off-by: Lee Jones Signed-off-by: Linus Walleij --- diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index a1c4330..6c7bec4 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -53,23 +53,6 @@ #include "board-mop500.h" #include "board-mop500-regulators.h" -static struct fixed_voltage_config snowball_gpio_en_3v3_data = { - .supply_name = "EN-3V3", - .gpio = SNOWBALL_EN_3V3_ETH_GPIO, - .microvolts = 3300000, - .enable_high = 1, - .init_data = &gpio_en_3v3_regulator, - .startup_delay = 5000, /* 1200us */ -}; - -static struct platform_device snowball_gpio_en_3v3_regulator_dev = { - .name = "reg-fixed-voltage", - .id = 1, - .dev = { - .platform_data = &snowball_gpio_en_3v3_data, - }, -}; - /* Dynamically populated. */ static struct gpio sdi0_reg_gpios[] = { { 0, GPIOF_OUT_INIT_LOW, "mmci_vsel" }, @@ -377,7 +360,6 @@ static void __init u8500_cryp1_hash1_init(struct device *parent) } static struct platform_device *snowball_platform_devs[] __initdata = { - &snowball_gpio_en_3v3_regulator_dev, &u8500_cpufreq_cooling_device, &sdi0_regulator, };