[PATCH/RFT 6/8] ARM: OMAP: remove unused cpu_is_omap3505()

Koen Kooi koen at dominion.thruhere.net
Mon Apr 30 05:35:43 EDT 2012


Op 30 apr. 2012, om 11:07 heeft Jean Pihet het volgende geschreven:

> Kevin,
> 
> On Fri, Apr 27, 2012 at 1:29 AM, Kevin Hilman <khilman at ti.com> wrote:
>> The 3505 check is now unused and can be removed.
>> 
>> There are no longer any cpu_is_* checks that depend on specific IP
>> detection.
>> 
>> Acked-by: Vaibhav Hiremath <hvaibhav at ti.com>
>> Tested-by: Vaibhav Hiremath <hvaibhav at ti.com>
>> Signed-off-by: Kevin Hilman <khilman at ti.com>
>> ---
>>  arch/arm/plat-omap/include/plat/cpu.h |    8 +-------
>>  1 file changed, 1 insertion(+), 7 deletions(-)
>> 
>> diff --git a/arch/arm/plat-omap/include/plat/cpu.h b/arch/arm/plat-omap/include/plat/cpu.h
>> index 41f3e5a..b34bf6c 100644
>> --- a/arch/arm/plat-omap/include/plat/cpu.h
>> +++ b/arch/arm/plat-omap/include/plat/cpu.h
>> @@ -250,8 +250,7 @@ IS_AM_SUBCLASS(335x, 0x335)
>>  * cpu_is_omap2423():  True for OMAP2423
>>  * cpu_is_omap2430():  True for OMAP2430
>>  * cpu_is_omap3430():  True for OMAP3430
>> - * cpu_is_omap3505():  True for OMAP3505
>> - * cpu_is_omap3517():  True for OMAP3517
>> + * cpu_is_omap3517():  True for AM35x: OMAP3517, OMAP3505
> Is cpu_is_omap35xx() a better name for it?

No, since 3530 is the same as 3430 :(

regards,

Koen


More information about the linux-arm-kernel mailing list