From patchwork Wed Mar 10 04:56:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruno Bigras X-Patchwork-Id: 84458 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2A53moB028086 for ; Wed, 10 Mar 2010 05:03:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751117Ab0CJFDr (ORCPT ); Wed, 10 Mar 2010 00:03:47 -0500 Received: from mail-qy0-f204.google.com ([209.85.221.204]:53790 "EHLO mail-qy0-f204.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750884Ab0CJFDq (ORCPT ); Wed, 10 Mar 2010 00:03:46 -0500 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 10 Mar 2010 05:03:49 +0000 (UTC) X-Greylist: delayed 419 seconds by postgrey-1.27 at vger.kernel.org; Wed, 10 Mar 2010 00:03:46 EST Received: by qyk42 with SMTP id 42so1152711qyk.19 for ; Tue, 09 Mar 2010 21:03:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=hq5ajxIZly++Aret+r+i4+OdNh3prkfkrNK7xDg8ENg=; b=r5fFBYXTcwXN/Rf7jcyvHcIJDcseWBsKcC9ZNdLvVBm9o5U3IgCxhL55cLmpe178Jq kzZqjea2kVPEXE8GR2emWq0CGPii7yi3SswHHWwAiJFfWkljRrnEwbQpiJkYyVBKdrWz UfXDLgUqF5IJyrR2XgKcLoM6O1qx9yGuQq+BM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=uG0AuovSP22s8ceZ5cVEnWMKvTG9wOwVlAL7BBXWJQVINVQIc8ht5ApVgFtdHO+DSC 1hEku4M3KbVEPFXONgy6HoioYG6mVOgXBF6rJ+KHMkWDg6AvP8EZHI6ua2pMZCcFLTAt PDJ5z+XY9FL+G6Fll2eeUG1ITuHKJRaH4Elqw= Received: by 10.224.80.87 with SMTP id s23mr675830qak.70.1268197005954; Tue, 09 Mar 2010 20:56:45 -0800 (PST) Received: from localhost.localdomain (modemcable195.82-202-24.mc.videotron.ca [24.202.82.195]) by mx.google.com with ESMTPS id 26sm17291908qwa.58.2010.03.09.20.56.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Mar 2010 20:56:45 -0800 (PST) From: Bruno Bigras To: lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Bruno Bigras Subject: [PATCH] acpi: sleep: fixed a brace coding style issue Date: Tue, 9 Mar 2010 23:56:20 -0500 Message-Id: <1268196980-5697-1-git-send-email-bigras.bruno@gmail.com> X-Mailer: git-send-email 1.7.0.2 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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);