RE: [RFC/PATCH 4/7] ARM: OMAP: AM35x: remove redunant cpu_is checks for AM3505

2012-01-05 Thread Hiremath, Vaibhav
-Original Message- From: Hilman, Kevin Sent: Thursday, January 05, 2012 6:47 AM To: linux-omap@vger.kernel.org Cc: Paul Walmsley; Hiremath, Vaibhav Subject: [RFC/PATCH 4/7] ARM: OMAP: AM35x: remove redunant cpu_is checks for AM3505 There are several checks for AM35x devices done

[RFC/PATCH 4/7] ARM: OMAP: AM35x: remove redunant cpu_is checks for AM3505

2012-01-04 Thread Kevin Hilman
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 plat/cpu.h: #define