summaryrefslogtreecommitdiff
path: root/zephyr/drivers/cros_kb_raw/cros_kb_raw_xec.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/drivers/cros_kb_raw/cros_kb_raw_xec.c')
-rw-r--r--zephyr/drivers/cros_kb_raw/cros_kb_raw_xec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/drivers/cros_kb_raw/cros_kb_raw_xec.c b/zephyr/drivers/cros_kb_raw/cros_kb_raw_xec.c
index 31dcfdd29d..797377f84f 100644
--- a/zephyr/drivers/cros_kb_raw/cros_kb_raw_xec.c
+++ b/zephyr/drivers/cros_kb_raw/cros_kb_raw_xec.c
@@ -1,4 +1,4 @@
-/* Copyright 2022 The Chromium OS Authors. All rights reserved.
+/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -103,7 +103,7 @@ static int cros_kb_raw_xec_drive_column(const struct device *dev, int col)
/* Drive all lines to low for detection any key press */
else if (col == KEYBOARD_COLUMN_ALL) {
mchp_soc_ecia_girq_src_dis(MCHP_GIRQ21_ID,
- MCHP_KEYSCAN_GIRQ_POS);
+ MCHP_KEYSCAN_GIRQ_POS);
inst->KSO_SEL = MCHP_KSCAN_KSO_ALL;
/* Set logical level low on COL2 */
cros_kb_raw_set_col2(0);
@@ -122,7 +122,7 @@ static int cros_kb_raw_xec_drive_column(const struct device *dev, int col)
kb_raw_xec_clr_src(dev);
}
mchp_soc_ecia_girq_src_en(MCHP_GIRQ21_ID,
- MCHP_KEYSCAN_GIRQ_POS);
+ MCHP_KEYSCAN_GIRQ_POS);
}
/* Drive one line to low for determining
* which key's state changed.
@@ -164,7 +164,7 @@ static int cros_kb_raw_xec_init(const struct device *dev)
/* Set up Kscan IRQ and ISR */
IRQ_CONNECT(DT_INST_IRQN(0), DT_INST_IRQ(0, priority),
- cros_kb_raw_xec_ksi_isr, DEVICE_DT_INST_GET(0), 0);
+ cros_kb_raw_xec_ksi_isr, DEVICE_DT_INST_GET(0), 0);
/* Disable Kscan NVIC and source interrupts */
irq_disable(cfg->irq);