Thread (40 messages) flat view 40 messages, 9 authors, 2012-01-12
STALE5357d

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

From: Eric Miao <hidden>
Date: 2012-01-09 05:05:39

quoted
?/* 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help