mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bruno Bigras <bigras.bruno@gmail.com>
To: lenb@kernel.org
Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Bruno Bigras <bigras.bruno@gmail.com>
Subject: [PATCH] acpi: sleep: fixed a brace coding style issue
Date: Tue,  9 Mar 2010 23:56:20 -0500	[thread overview]
Message-ID: <1268196980-5697-1-git-send-email-bigras.bruno@gmail.com> (raw)

Fix a coding style issue.

Signed-off-by: Bruno Bigras <bigras.bruno@gmail.com>
---
 drivers/acpi/sleep.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 3bde594..fc8343f 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -62,9 +62,9 @@ static int acpi_sleep_prepare(u32 acpi_state)
 #ifdef CONFIG_ACPI_SLEEP
 	/* do we have a wakeup address for S2 and S3? */
 	if (acpi_state == ACPI_STATE_S3) {
-		if (!acpi_wakeup_address) {
+		if (!acpi_wakeup_address)
 			return -EFAULT;
-		}
+
 		acpi_set_firmware_waking_vector(
 				(acpi_physical_address)acpi_wakeup_address);
 
-- 
1.7.0.2


             reply	other threads:[~2010-03-10  5:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-10  4:56 Bruno Bigras [this message]
2010-03-31 14:46 ` Pavel Machek

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=1268196980-5697-1-git-send-email-bigras.bruno@gmail.com \
    --to=bigras.bruno@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®