summaryrefslogtreecommitdiff
path: root/src/ec/compal
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-09-05 19:55:34 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-09-07 13:55:05 +0200
commitb933109594b21c23af7233a97ba9dd57a56cbee9 (patch)
tree5d95d76ff7eb387d86c4358be7ea3d153d1e7002 /src/ec/compal
parent112ab9183754a81c8100fcc37593ef4905a9d3a3 (diff)
src/ec: Improve code formatting
Change-Id: I93b71ca577c973046d1651d92665168b329eda1b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16503 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Omar Pakker
Diffstat (limited to 'src/ec/compal')
-rw-r--r--src/ec/compal/ene932/acpi/ec.asl8
-rw-r--r--src/ec/compal/ene932/ec.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/ec/compal/ene932/acpi/ec.asl b/src/ec/compal/ene932/acpi/ec.asl
index 93ddcbeb1e..7caf8d4b62 100644
--- a/src/ec/compal/ene932/acpi/ec.asl
+++ b/src/ec/compal/ene932/acpi/ec.asl
@@ -32,7 +32,7 @@ Device (EC0)
Offset(0x00),
, 1, // Reserved ; 00h.0
LCDS, 1, // 1= BACKLIGHT ON , 0= BACKLIGHT OFF ; 00h.1
- , 6, // Reserved ; 00h.2 ~ 00h.6
+ , 6, // Reserved ; 00h.2 ~ 00h.6
HTBN, 8, // HOTKEY_BUTTON_NUMBER ; 01h For ABO Hot Key Function
HTBT, 8, // HOTKEY_BUTTON_TYPE ; 02h For ABO Hot Key Function
LMEN, 1, // Launch Manager enable .(1=Enable ) ; 03h.0, Lauanch manage
@@ -212,9 +212,9 @@ Device (EC0)
// 101 : CPT
, 1, // Reserved ; C0h.7
BST0, 8, // Battery Status ; C1h
- // Bit0 : Discharging
- // Bit1 : Charging
- // Bit2 : Discharg and Critical Low
+ // Bit0 : Discharging
+ // Bit1 : Charging
+ // Bit2 : Discharg and Critical Low
// Bit3-7 : Reserved
BRC0, 16, // Batt Remaining Capacity ; C2h, C3h
BSN0, 16, // Batt Serial Number ; C4h, C5h
diff --git a/src/ec/compal/ene932/ec.c b/src/ec/compal/ene932/ec.c
index 4b69e75972..1587db9597 100644
--- a/src/ec/compal/ene932/ec.c
+++ b/src/ec/compal/ene932/ec.c
@@ -144,7 +144,7 @@ static struct device_operations ops = {
};
static struct pnp_info pnp_dev_info[] = {
- { &ops, 0, 0, { 0, 0 }, }
+ { &ops, 0, 0, { 0, 0 }, }
};
static void enable_dev(struct device *dev)