[PATCH 4/6] arm/dts: imx6q-sabrelite: add sgtl5000 audio codec

Eric Miao eric.miao at linaro.org
Mon Jan 9 00:05:39 EST 2012


>>  /* Default string compare functions, Allow arch asm/prom.h to override */
>>  #if !defined(of_compat_cmp)
>>  #define of_compat_cmp(s1, s2, l)       strcasecmp((s1), (s2))
>> -#define of_prop_cmp(s1, s2)            strcmp((s1), (s2))
>> +#define of_prop_cmp(s1, s2)            strcasecmp((s1), (s2))
>>  #define of_node_cmp(s1, s2)            strcasecmp((s1), (s2))
>>  #endif
>
> Device-trees are case sensitive, so I don't think we want to go globally
> changing that behavior.
>
> If you want lower case names, then change the sgtl5000 code to lower
> case names.

+1, I'd vote for consistent lower case names.



More information about the linux-arm-kernel mailing list