linux/arch/arm/plat-omap
David Brownell cfa9a63a9a ARM: OMAP: fix omap i2c init (regression)
In mainline, the "old style" I2C registration was only removed for
OMAP2, leading to init-time bugs (regressions) like:

    sysfs: duplicate filename 'i2c_omap.1' can not be created
    ------------[ cut here ]------------
    WARNING: at fs/sysfs/dir.c:424 sysfs_add_one+0x40/0xd4()
    Modules linked in:
    	... deletia ...
    [<c0036a38>] (omap_init_i2c+0x0/0x50) from [<c000cea8>] (omap_init_devices+0x10/0x24)
     r4:c001e000
    [<c000ce98>] (omap_init_devices+0x0/0x24) from [<c0008684>] (do_initcalls+0x78/0x200)
    	... deletia ...
    ---[ end trace ca143223eefdc828 ]---
    kobject_add_internal failed for i2c_omap.1 with -EEXIST, don't try to register things with the same name in the same directory.

The fix is obvious:  remove the old init code, it's no longer needed.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2008-03-05 10:23:20 +02:00
..
clock.c ARM: OMAP: add SoSSI clock (call propagate_rate for childrens) 2007-05-09 10:39:29 +01:00
common.c ARM: OMAP: Fix 32k timer unsupported one-shot mode 2007-08-22 00:42:50 -07:00
cpu-omap.c ARM: OMAP: Fix sleep under spinlock for cpufreq 2008-03-05 10:23:19 +02:00
debug-devices.c [NET] smc91x: Make smc91x use IRQ resource trigger flags 2008-01-28 13:13:19 +00:00
debug-leds.c ARM: OMAP: partial LED fixes 2007-05-09 10:39:42 +01:00
devices.c ARM: OMAP: fix omap i2c init (regression) 2008-03-05 10:23:20 +02:00
dma.c ARM: OMAP: Pass logical DMA channel number always to callback handlers 2008-03-05 10:23:19 +02:00
dmtimer.c ARM: OMAP: Add dmtimer support for OMAP3 2008-02-08 10:38:00 -08:00
fb.c Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
gpio.c ARM: OMAP: fix false lockdep warnings 2008-03-05 10:23:19 +02:00
i2c.c ARM: OMAP: Add helper module for board specific I2C bus registration 2008-02-08 10:38:00 -08:00
Kconfig ARM: OMAP: abstract debug card setup (smc, leds) 2007-09-20 09:59:20 -07:00
mailbox.c Merge branch 'blk-end-request' of git://git.kernel.dk/linux-2.6-block 2008-01-29 08:51:32 +11:00
mailbox.h ARM: OMAP: Add mailbox support for IVA 2007-05-09 10:37:10 +01:00
Makefile ARM: OMAP: Add helper module for board specific I2C bus registration 2008-02-08 10:38:00 -08:00
mcbsp.c ARM: OMAP: Request DSP memory for McBSP 2008-02-08 10:37:57 -08:00
mux.c ARM: OMAP: 24xx pinmux updates 2007-05-10 15:51:09 -07:00
ocpi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sram-fn.S fix file specification in comments 2006-10-03 23:01:26 +02:00
sram.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
timer32k.c ARM: OMAP: Fix 32k timer unsupported one-shot mode 2007-08-22 00:42:50 -07:00
usb.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00