[PATCH 1/3] acpi: Fixed code indent errors and use linux libs

From: Paul McQuade
Date: Thu Mar 27 2014 - 18:55:28 EST


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

Signed-off-by: Paul McQuade <paulmcquad@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/