aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bhnd
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-04-08 18:57:15 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-04-09 07:26:50 +0000
commit060f5c02e94fe66b67eaccc12ff875797bc180b7 (patch)
treebb24a8ab4fc13c85dea98733e8ad271e359f2e79 /sys/dev/bhnd
parent8a1b8cf4be90f99e3df776fb93851262263e2e7e (diff)
Diffstat (limited to 'sys/dev/bhnd')
-rw-r--r--sys/dev/bhnd/bhndb/bhndb.h2
-rw-r--r--sys/dev/bhnd/cores/chipc/chipc.c2
-rw-r--r--sys/dev/bhnd/nvram/bhnd_nvram_value.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/bhnd/bhndb/bhndb.h b/sys/dev/bhnd/bhndb/bhndb.h
index e53ac6deb4d0..59b237e07756 100644
--- a/sys/dev/bhnd/bhndb/bhndb.h
+++ b/sys/dev/bhnd/bhndb/bhndb.h
@@ -153,7 +153,7 @@ typedef enum {
enum bhndb_alloc_flags {
/**
* If resource overcommit prevents fulfilling a request for this
- * resource, an in-use resource should be be borrowed to fulfill the
+ * resource, an in-use resource should be borrowed to fulfill the
* request.
*
* The only known use case is to support accessing the ChipCommon core
diff --git a/sys/dev/bhnd/cores/chipc/chipc.c b/sys/dev/bhnd/cores/chipc/chipc.c
index 7f74edf6b3fe..678b2104f4e8 100644
--- a/sys/dev/bhnd/cores/chipc/chipc.c
+++ b/sys/dev/bhnd/cores/chipc/chipc.c
@@ -411,7 +411,7 @@ chipc_find_nvram_src(struct chipc_softc *sc, struct chipc_caps *caps)
/*
* We check for hardware presence in order of precedence. For example,
- * SPROM is is always used in preference to internal OTP if found.
+ * SPROM is always used in preference to internal OTP if found.
*/
if (CHIPC_QUIRK(sc, SUPPORTS_SPROM) && caps->sprom) {
srom_ctrl = bhnd_bus_read_4(sc->core, CHIPC_SPROM_CTRL);
diff --git a/sys/dev/bhnd/nvram/bhnd_nvram_value.c b/sys/dev/bhnd/nvram/bhnd_nvram_value.c
index 8bdfa31a22a4..b2e0ef3a9556 100644
--- a/sys/dev/bhnd/nvram/bhnd_nvram_value.c
+++ b/sys/dev/bhnd/nvram/bhnd_nvram_value.c
@@ -1342,7 +1342,7 @@ bhnd_nvram_val_encode(bhnd_nvram_val *value, void *outp, size_t *olen,
* Encode the given @p value's element as @p otype, writing the result to
* @p outp.
*
- * @param inp The element to be be encoded. Must be a value
+ * @param inp The element to be encoded. Must be a value
* previously returned by bhnd_nvram_val_next()
* or bhnd_nvram_val_elem().
* @param ilen The size of @p inp, as returned by