android_kernel_xiaomi_sm8350/arch/arm
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
..
boot Merge branch 'orion' into devel 2008-01-28 13:21:30 +00:00
common [ARM] xtime_seqlock: fix more ARM machines for xtime deadlocking 2008-02-04 13:14:07 +00:00
configs Merge branches 'master', 'omap1-upstream' and 'orion' into devel 2008-02-09 22:47:23 +00:00
kernel [ARM] constify function pointer tables 2008-02-09 22:46:44 +00:00
lib
mach-aaec2000 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-at91 [ARM] 4823/1: AT91 section fix 2008-02-09 22:43:15 +00:00
mach-clps711x [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-clps7500 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-davinci [ARM] constify function pointer tables 2008-02-09 22:46:44 +00:00
mach-ebsa110 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-ep93xx Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-footbridge [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-h720x [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-imx Remove references to "make dep" 2008-01-28 23:22:13 +01:00
mach-integrator Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx leds: Standardise LED naming scheme 2008-02-07 09:47:00 +00:00
mach-ixp23xx
mach-ixp2000 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-ks8695 Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-l7200
mach-lh7a40x [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-msm
mach-mx3 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-netx Remove references to "make dep" 2008-01-28 23:22:13 +01:00
mach-ns9xxx
mach-omap1 ARM: OMAP: Release i2c_adapter after use (Siemens SX1) 2008-02-24 20:03:41 +01:00
mach-omap2 Merge branch 'pxa-plat' into devel 2008-01-28 13:21:38 +00:00
mach-orion [ARM] 4826/1: Orion: Register the RTC interrupt on the TS-209 2008-02-17 10:42:06 +00:00
mach-pnx4008 [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-pxa [ARM] 4842/1: pxa: remove redundant IRQ saving/restoring in clk_pxa3xx_cken_* 2008-02-29 22:47:27 +00:00
mach-realview [ARM] 4822/1: RealView: Change the REALVIEW_MPCORE configuration option 2008-02-04 17:52:28 +00:00
mach-rpc Rename: linux/pata_platform.h to linux/ata_platform.h 2008-02-06 06:54:17 -05:00
mach-s3c2400
mach-s3c2410 Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
mach-s3c2412 [ARM] 4791/1: S3C2412: Make fclk a parent of msysclk 2008-01-28 13:20:52 +00:00
mach-s3c2440 [ARM] 4794/1: S3C24XX: Comonise S3C2440 and S3C2442 clock code 2008-01-28 13:20:52 +00:00
mach-s3c2442 [ARM] 4794/1: S3C24XX: Comonise S3C2440 and S3C2442 clock code 2008-01-28 13:20:52 +00:00
mach-s3c2443
mach-sa1100 Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-02-04 15:29:53 -08:00
mach-shark [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
mach-versatile
mm [ARM] Fix freeing of page tables for ARM in free_pgd_slow 2008-03-01 20:23:57 +00:00
nwfpe
oprofile
plat-iop [ARM] xtime_seqlock: fix more ARM machines for xtime deadlocking 2008-02-04 13:14:07 +00:00
plat-mxc
plat-omap ARM: OMAP: fix omap i2c init (regression) 2008-03-05 10:23:20 +02:00
plat-s3c
plat-s3c24xx Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-02-04 15:29:53 -08:00
tools
vfp
Kconfig Kprobes: indicate kretprobe support in Kconfig 2008-03-04 16:35:11 -08:00
Kconfig-nommu
Kconfig.debug
Makefile Merge branch 'orion' into devel 2008-01-28 13:21:30 +00:00