From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: mathieu.poirier@linaro.org
Cc: grant.likely@linaro.org, devicetree-discuss@lists.ozlabs.org,
john.stultz@linaro.org, linux-input@vger.kernel.org,
kernel-team@android.com
Subject: Re: [PATCH v3] Input: sysrq - DT binding for key sequences
Date: Sat, 13 Jul 2013 13:41:40 -0700 [thread overview]
Message-ID: <20130713204140.GA11511@core.coreip.homeip.net> (raw)
In-Reply-To: <1373622962-16534-1-git-send-email-mathieu.poirier@linaro.org>
Hi Matthieu,
On Fri, Jul 12, 2013 at 03:56:02AM -0600, mathieu.poirier@linaro.org wrote:
> +
> + np = of_find_node_by_path("/chosen");
> + if (!np)
> + goto out;
> +
> + np = of_find_node_by_name(np, "linux,sysrq-reset-seq");
> + if (!np) {
> + pr_debug("No sysrq node found");
> + goto out;
> + }
Can if be folded into:
np = of_find_node_by_path("/chosen/linux,sysrq-reset-seq")
?
Thanks.
--
Dmitry
prev parent reply other threads:[~2013-07-13 20:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-12 9:56 [PATCH v3] Input: sysrq - DT binding for key sequences mathieu.poirier
2013-07-13 20:41 ` Dmitry Torokhov [this message]
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=20130713204140.GA11511@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@linaro.org \
--cc=john.stultz@linaro.org \
--cc=kernel-team@android.com \
--cc=linux-input@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
/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).