commit | c34f7c696211e3d45ff94a34824b65aa52576bc6 | [log] [tgz] |
---|---|---|
author | Tony Lindgren <tony@atomide.com> | Mon Oct 29 16:17:59 2012 -0700 |
committer | Tony Lindgren <tony@atomide.com> | Wed Oct 31 15:37:13 2012 -0700 |
tree | 81327c2b471e51e47171ed11e57c99eda552a0ef | |
parent | bb77209432873214a796a70a4539e4ebdf3feb54 [diff] |
ARM: OMAP: Make plat-omap/i2c.c port checks local The common code should not have any omap1 or omap2+ specific code, and should not need to call the cpu_is_omap macros. The only remaining user for cpu_is_omap macros is omap_i2c_nr_ports(). Let's make those checks in the omap specific implementation of omap_i2c_add_bus() instead in order to remove cpu_is_omap usage from the common code. Signed-off-by: Tony Lindgren <tony@atomide.com>