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/quanta/ene_kb3940q/ec.c | 2 +- src/ec/quanta/it8518/ec.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ec/quanta') diff --git a/src/ec/quanta/ene_kb3940q/ec.c b/src/ec/quanta/ene_kb3940q/ec.c index 5e4aa47afa..83768b12ca 100644 --- a/src/ec/quanta/ene_kb3940q/ec.c +++ b/src/ec/quanta/ene_kb3940q/ec.c @@ -154,7 +154,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) diff --git a/src/ec/quanta/it8518/ec.c b/src/ec/quanta/it8518/ec.c index af0849c600..643c934c40 100644 --- a/src/ec/quanta/it8518/ec.c +++ b/src/ec/quanta/it8518/ec.c @@ -131,10 +131,10 @@ u8 ec_it8518_get_event(void) { u8 cmd = 0; u8 status = inb(EC_SC); - if (status & SCI_EVT) { + if (status & SCI_EVT) { ec_write_cmd(QR_EC); cmd = ec_read_ob(); - } else if ( status & SMI_EVT) { + } else if (status & SMI_EVT) { ec_kbc_write_cmd(EC_KBD_SMI_EVENT); cmd = ec_kbc_read_ob(); } @@ -167,7 +167,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