[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2E89032DDAA8B9408CB92943514A0337D4642976@SW-EX-MBX01.diasemi.com>
Date: Tue, 14 Jun 2016 08:39:01 +0000
From: "Opensource [Adam Thomson]" <Adam.Thomson.Opensource@...semi.com>
To: Frank Rowand <frowand.list@...il.com>,
"Opensource [Adam Thomson]" <Adam.Thomson.Opensource@...semi.com>,
"Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
Jaroslav Kysela <perex@...ex.cz>,
"Mika Westerberg" <mika.westerberg@...ux.intel.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>
CC: Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Takashi Iwai <tiwai@...e.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Robert Moore <robert.moore@...el.com>,
Lv Zheng <lv.zheng@...el.com>, Len Brown <lenb@...nel.org>,
"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
"devel@...ica.org" <devel@...ica.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Support Opensource <Support.Opensource@...semi.com>,
Sathyanarayana Nujella <sathyanarayana.nujella@...el.com>,
Suravee Suthikulpanit <Suravee.Suthikulpanit@....com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
"Hanjun Guo" <hanjun.guo@...aro.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"Rob Herring" <rob.herring@...aro.org>
Subject: RE: [RESEND PATCH v2 1/2] device property: Add function to search
for named child of device
On 13 June 2016 20:33, Frank Rowand wrote:
> > DT node names are case insensitive. The of.h header does provide a helper macro
> > which is equivalent to this, but that macro is part of the '#ifdef CONFIG_OF'
> > block. If I were to use it then it would cause non-DT builds to fail. I opted
> > for strcasecmp() directly as I didn't think for just this one scenario it made
> > sense to reorganise the of.h header with regards to the helper macros. Of course
> > if there are other opinions on this then am happy to listen.
>
> DT node names are not always case insensitive. Please us of_node_cmp().
>
> -Frank
Ok, fair enough. I'll have to move those definitions in the of.h header out of
the CONFIG_OF block then.
Powered by blists - more mailing lists