summaryrefslogtreecommitdiff
path: root/src/ec/quanta
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/quanta')
-rw-r--r--src/ec/quanta/ene_kb3940q/ec.c2
-rw-r--r--src/ec/quanta/it8518/ec.c6
2 files changed, 4 insertions, 4 deletions
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)