diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-06-20 10:08:38 -0600 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:45:58 -0800 |
commit | 256534830b50e25cadd4f60778889ed83d08b42d (patch) | |
tree | 3eec83361d157752d8d6b2cfcb647518d2cc07aa /arch/arm/mach-tegra/board-harmony.c | |
parent | c157acd9d0d8c3849fbe59db6eddc2e3a2fda016 (diff) |
ARM: Tegra: Harmony: Fix duplicate I2C device registrations
tegra_i2c_device* were listed in harmony_devices[], and manually registered
by harmony_i2c_init after platform data was initialized. Thus, they were
registered twice, and the first time was before platform data was
initialized. Remove the entries in harmony_devices[] so solve this.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Change-Id: Ibd699a68f1ae7eb22743a7fc8ae5c06a26a10f29
Rebase-Id: R8e17caacfb75958c51775efc7141024fb1ef415a
Diffstat (limited to 'arch/arm/mach-tegra/board-harmony.c')
-rw-r--r-- | arch/arm/mach-tegra/board-harmony.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/board-harmony.c b/arch/arm/mach-tegra/board-harmony.c index 4561d8df30d1..19f9f75dd64c 100644 --- a/arch/arm/mach-tegra/board-harmony.c +++ b/arch/arm/mach-tegra/board-harmony.c @@ -264,10 +264,6 @@ static struct platform_device *harmony_devices[] __initdata = { &tegra_nand_device, &tegra_udc_device, &pda_power_device, - &tegra_i2c_device1, - &tegra_i2c_device2, - &tegra_i2c_device3, - &tegra_i2c_device4, &tegra_spi_device1, &tegra_spi_device2, &tegra_spi_device3, |