summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-01-09 05:43:03 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-01-09 05:43:03 +0000
commit7f2cad9e054524f505c1edeb608b5d5d491c7327 (patch)
tree1be6f976d12d656d87b59657c17644c4de355750 /sys/dev/i2c
parent7c8306148430f9568aa83355968cf1ed0289bc6d (diff)
spelling
feedback and ok tb@ jmc@ ok ratchov@
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r--sys/dev/i2c/ds1307.c4
-rw-r--r--sys/dev/i2c/ihidev.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/i2c/ds1307.c b/sys/dev/i2c/ds1307.c
index d1ebd2d6fa2..c12ac4e3eb8 100644
--- a/sys/dev/i2c/ds1307.c
+++ b/sys/dev/i2c/ds1307.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ds1307.c,v 1.3 2021/04/24 10:15:15 mpi Exp $ */
+/* $OpenBSD: ds1307.c,v 1.4 2022/01/09 05:42:37 jsg Exp $ */
/*
* Copyright (c) 2016 Marcus Glocker <mglocker@openbsd.org>
@@ -171,7 +171,7 @@ maxrtc_enable_osc(struct maxrtc_softc *sc)
return (-1);
}
if ((data_r & DS1307_SEC_MASK_CH) == 0) {
- /* oscilliator is already enabled */
+ /* oscillator is already enabled */
printf(": rtc is ok\n");
return (0);
}
diff --git a/sys/dev/i2c/ihidev.c b/sys/dev/i2c/ihidev.c
index 8fefab14f21..50862ad5731 100644
--- a/sys/dev/i2c/ihidev.c
+++ b/sys/dev/i2c/ihidev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ihidev.c,v 1.24 2021/08/26 21:05:01 jcs Exp $ */
+/* $OpenBSD: ihidev.c,v 1.25 2022/01/09 05:42:37 jsg Exp $ */
/*
* HID-over-i2c driver
*
@@ -237,7 +237,7 @@ ihidev_activate(struct device *self, int act)
case DVACT_QUIESCE:
sc->sc_dying = 1;
if (sc->sc_poll && timeout_initialized(&sc->sc_timer)) {
- DPRINTF(("%s: canceling polling\n",
+ DPRINTF(("%s: cancelling polling\n",
sc->sc_dev.dv_xname));
timeout_del_barrier(&sc->sc_timer);
}