aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2440
diff options
context:
space:
mode:
authorBalaji Rao <balajirrao@openmoko.org>2008-11-19 17:11:16 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:16 +0000
commit2ef7a8396f9551d475309ef1c63efb1be2bb22fe (patch)
treefb9f294f446aee14724e25a0b383437a7b11b854 /arch/arm/mach-s3c2440
parent8eb1cba5e031f7551ee6a0d9400e2e4b9de6303d (diff)
> I also mentioned that the uplevelled mokopatches dealt with the new way
> of passing i2c information into the wm8753 driver... it handles that > action now. Maybe that's what trashes up the PMU registration / bus > attach stuff for PMU. > > Anyway that is why I removed wm8753 i2c registration from mach-gta02.c, > it's now done in the gta02 wm8753 driver. Ah, sorry for not noticing it. So we can remove the i2c_board_info altogether from mach-gta02.c. Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r--arch/arm/mach-s3c2440/mach-gta02.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
index 96a4c9ecb62..bfc46dba0e4 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/arch/arm/mach-s3c2440/mach-gta02.c
@@ -98,16 +98,6 @@
/* arbitrates which sensor IRQ owns the shared SPI bus */
static spinlock_t motion_irq_lock;
-static struct pcf50633_platform_data gta02_pcf_pdata;
-
-static struct i2c_board_info gta02_i2c_devs[] __initdata = {
- {
- I2C_BOARD_INFO("pcf50633", 0x73),
- .irq = GTA02_IRQ_PCF50633,
- .platform_data = &gta02_pcf_pdata,
- },
-};
-
static int gta02_charger_online_status;
static int gta02_charger_active_status;
@@ -1674,8 +1664,6 @@ static void __init gta02_machine_init(void)
mangle_pmu_pdata_by_system_rev();
platform_add_devices(gta02_devices, ARRAY_SIZE(gta02_devices));
-// i2c_register_board_info(0, gta02_i2c_devs,
-// ARRAY_SIZE(gta02_i2c_devs));
s3c2410_pm_init();