From: Kevin Hilman Date: Mon, 30 Apr 2012 23:37:09 +0000 (-0700) Subject: ARM: OMAP: AM35xx: remove redunant cpu_is checks for AM3505 X-Git-Tag: v3.5-rc1~72^2~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3410773013432aced860f6f12def4fe9da517167;p=pandora-kernel.git ARM: OMAP: AM35xx: remove redunant cpu_is checks for AM3505 There are several checks for AM35x devices done using if (cpu_is_omap3517() || cpu_is_omap3505()) However, since the 3505 is just a 3517 without an SGX, the 3505 check is redundant because cpu_is_omap3517() will always be true whenever cpu_is_omap3505() is true. From : #define cpu_is_omap3505() (cpu_is_omap3517() && !omap3_has_sgx()) Therefore, remove the redunant 3505 checks. This helps move towards removal of SoC detection that depends on specific IP detection. Acked-by: Vaibhav Hiremath Tested-by: Vaibhav Hiremath Tested-by: Mark A. Greer Signed-off-by: Kevin Hilman Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed