From b933109594b21c23af7233a97ba9dd57a56cbee9 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Mon, 5 Sep 2016 19:55:34 +0200 Subject: src/ec: Improve code formatting Change-Id: I93b71ca577c973046d1651d92665168b329eda1b Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16503 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens Reviewed-by: Omar Pakker --- src/ec/compal/ene932/acpi/ec.asl | 8 ++++---- src/ec/compal/ene932/ec.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ec/compal') 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) -- cgit v1.2.3