public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Lin Ming <ming.m.lin@intel.com>
To: Alexey Starikovskiy <aystarik@gmail.com>
Cc: Len Brown <lenb@kernel.org>,
	"Moore, Robert" <robert.moore@intel.com>,
	linux-acpi <linux-acpi@vger.kernel.org>
Subject: Re: [PATCH 7/8] acpi: avoid using internal acpica structures
Date: Thu, 27 Nov 2008 09:03:26 +0800	[thread overview]
Message-ID: <1227747806.16339.13.camel@minggr.sh.intel.com> (raw)
In-Reply-To: <d3f22a0811261702q39d89093y52d22c3e9ea0e488@mail.gmail.com>


> Merge the above two lines?
> >
> > +
> > +       if (ACPI_SUCCESS(status)) {
> > +               if (sscanf(node_name, "_Q%x", &value) == 1) {
> >
> 
> single if (ACPI_SUCCESS(status) && sscanf(node_name, "_Q%x", &value) == 1) ?

OK, that makes code compact.

Thanks,
Lin Ming


      parent reply	other threads:[~2008-11-27  1:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26  2:56 [PATCH 7/8] acpi: avoid using internal acpica structures Lin Ming
2008-11-26  8:12 ` Alexey Starikovskiy
2008-11-26  9:44   ` Lin Ming
2008-11-26 10:31     ` Alexey Starikovskiy
     [not found]       ` <d3f22a0811261702q39d89093y52d22c3e9ea0e488@mail.gmail.com>
2008-11-27  1:03         ` Lin Ming [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=1227747806.16339.13.camel@minggr.sh.intel.com \
    --to=ming.m.lin@intel.com \
    --cc=aystarik@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=robert.moore@intel.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