public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: paulmcquad <paulmcquad@gmail.com>
To: paul McQuade <paulmcquad@gmail.com>, Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
	jw@rjwysocki.net
Subject: [PATCH 1/3] acpi: Fixed code indent errors and use linux libs
Date: Fri, 28 Mar 2014 00:44:25 +0000	[thread overview]
Message-ID: <5334C5E9.5080805@gmail.com> (raw)

>From 0196c4e34dd02d89833ef851c43973d81dfa4399 Mon Sep 17 00:00:00 2001
From: Paul McQuade <paulmcquad@gmail.com>
Date: Thu, 27 Mar 2014 22:55:28 +0000
Subject: [PATCH 1/3] acpi: Fixed code indent errors and use linux libs

ERROR: code indent should use tabs where possible.
Use #include <linux/cpu.h> instead of <asm/cpu.h>.

Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
---
 drivers/acpi/ac.c          | 6 +++---
 drivers/acpi/acpi_extlog.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c
index 6f190bc..078e969 100644
--- a/drivers/acpi/ac.c
+++ b/drivers/acpi/ac.c
@@ -62,7 +62,7 @@ struct acpi_ac {
 #define to_acpi_ac(x) container_of(x, struct acpi_ac, charger)
 
 /* --------------------------------------------------------------------------
-                               AC Adapter Management
+                AC Adapter Management
    -------------------------------------------------------------------------- */
 
 static int acpi_ac_get_state(struct acpi_ac *ac)
@@ -83,7 +83,7 @@ static int acpi_ac_get_state(struct acpi_ac *ac)
 }
 
 /* --------------------------------------------------------------------------
-                            sysfs I/F
+                sysfs I/F
    -------------------------------------------------------------------------- */
 static int get_ac_property(struct power_supply *psy,
                enum power_supply_property psp,
@@ -112,7 +112,7 @@ static enum power_supply_property ac_props[] = {
 };
 
 /* --------------------------------------------------------------------------
-                                   Driver Model
+                Driver Model
    -------------------------------------------------------------------------- */
 
 static void acpi_ac_notify_handler(acpi_handle handle, u32 event, void *data)
diff --git a/drivers/acpi/acpi_extlog.c b/drivers/acpi/acpi_extlog.c
index c4a5d87..7d9ae65 100644
--- a/drivers/acpi/acpi_extlog.c
+++ b/drivers/acpi/acpi_extlog.c
@@ -12,7 +12,7 @@
 #include <linux/cper.h>
 #include <linux/ratelimit.h>
 #include <linux/edac.h>
-#include <asm/cpu.h>
+#include <linux/cpu.h>
 #include <asm/mce.h>
 
 #include "apei/apei-internal.h"
-- 
1.8.3.2


                 reply	other threads:[~2014-03-28  0:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5334C5E9.5080805@gmail.com \
    --to=paulmcquad@gmail.com \
    --cc=jw@rjwysocki.net \
    --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