From: Tony Lindgren Date: Mon, 29 Oct 2012 23:17:59 +0000 (-0700) Subject: ARM: OMAP: Make plat-omap/i2c.c port checks local X-Git-Tag: omap-for-v3.8/cleanup-headers-prepare-multiplatform-v3-signed~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c34f7c696211e3d45ff94a34824b65aa52576bc6;p=pandora-kernel.git 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 --- Reading git-diff-tree failed