From: Rajendra Nayak <rnayak@ti.com>
To: Rob Herring <robherring2@gmail.com>
Cc: "Cousson, Benoit" <b-cousson@ti.com>, Chris Ball <cjb@laptop.org>,
Balaji T K <balajitk@ti.com>,
devicetree-discuss@lists.ozlabs.org, linux-omap@vger.kernel.org,
bigeasy@linutronix.de
Subject: Re: [RFC] dt: export of_have_populated_dt
Date: Wed, 11 Apr 2012 09:46:17 +0530 [thread overview]
Message-ID: <4F850591.3080209@ti.com> (raw)
In-Reply-To: <4F846BDB.8020805@gmail.com>
On Tuesday 10 April 2012 10:50 PM, Rob Herring wrote:
>> Rob,
>> > Does it make sense to use that in the driver? So far I was using that
>> > only in the arch code to make the difference between the DT boot and the
>> > non-DT boot.
>> >
>> > I guess that a driver should rely on of_match_device or non-NULL
>> > device_node to figure out that?
>> >
> Agreed. of_match_device or device_node ptr check is the right approach.
Thanks Rob, I'll post a patch to fix that up.
next prev parent reply other threads:[~2012-04-11 4:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-10 15:11 [RFC] dt: export of_have_populated_dt Balaji T K
2012-04-10 16:19 ` Cousson, Benoit
[not found] ` <4F845D99.7020705-l0cyMroinI0@public.gmane.org>
2012-04-10 16:21 ` Chris Ball
2012-04-10 16:29 ` Cousson, Benoit
2012-04-10 17:20 ` Rob Herring
2012-04-10 20:33 ` Grant Likely
2012-04-11 4:16 ` Rajendra Nayak [this message]
[not found] ` <1334070672-11252-1-git-send-email-balajitk-l0cyMroinI0@public.gmane.org>
2012-04-10 17:36 ` Sebastian Andrzej Siewior
2012-04-11 4:18 ` Rajendra Nayak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F850591.3080209@ti.com \
--to=rnayak@ti.com \
--cc=b-cousson@ti.com \
--cc=balajitk@ti.com \
--cc=bigeasy@linutronix.de \
--cc=cjb@laptop.org \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=linux-omap@vger.kernel.org \
--cc=robherring2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).