ARM: OMAP: Split plat-omap/i2c.c into mach-omap1 and mach-omap2
authorTony Lindgren <tony@atomide.com>
Mon, 8 Oct 2012 16:11:22 +0000 (09:11 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 17 Oct 2012 18:36:50 +0000 (11:36 -0700)
commit3a8761c0272c961c707e5af2eb0179adf3ef7e14
tree101b61bd1bc57de37c52587ecaff1da4e84d7742
parent8599e7c58786e3aef0bdb0fa093fd5150ae8a9bc
ARM: OMAP: Split plat-omap/i2c.c into mach-omap1 and mach-omap2

There's no need to keep the device related things in the
common i2c.c as omap2+ is using hwmod. Split the code to
mach-omap1 and mach-omap2 parts and only leave common
code to plat-omap/i2c.c.

Note that as omap1 only has one i2c controller, we can
now remove the old device related macros.

Reviewed-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
16 files changed:
arch/arm/mach-omap1/common.h
arch/arm/mach-omap1/i2c.c
arch/arm/mach-omap2/board-rm680.c
arch/arm/mach-omap2/common.h
arch/arm/mach-omap2/i2c.c
arch/arm/mach-omap2/i2c.h [new file with mode: 0644]
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_33xx_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
arch/arm/mach-omap2/twl-common.c
arch/arm/plat-omap/i2c.c
arch/arm/plat-omap/i2c.h [new file with mode: 0644]
arch/arm/plat-omap/include/plat/common.h
arch/arm/plat-omap/include/plat/i2c.h [deleted file]