summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorPaul Fagerburg <pfagerburg@google.com>2020-07-21 13:12:02 -0600
committerCommit Bot <commit-bot@chromium.org>2020-07-22 22:49:46 +0000
commit514923bc59f5a3435dbb7cbf348735ed41889ffe (patch)
tree15efb9db43b84f903e1915a78162e020808fec09 /chip
parentb93f139e47f8ced7ebe2414737296f9a6ba49cbc (diff)
downloadchrome-ec-514923bc59f5a3435dbb7cbf348735ed41889ffe.tar.gz
ec: change usage of "sane" per inclusive language
Google is working to change its source code to use more inclusive language. To that end, replace the terms "sane", "sanity check", and similar with inclusive/non-stigmatizing alternatives. BUG=b:161832469 BRANCH=None TEST=`make buildall -j` succeeds. `grep -Eir "sane|sanity" .` shows results only in third-party code or documentation. Signed-off-by: Paul Fagerburg <pfagerburg@chromium.org> Change-Id: I29e78ab27f84f17b1ded75cfa10868fa4e5ae88c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2311169 Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/ish/aontaskfw/ish_aon_share.h2
-rw-r--r--chip/lm4/chip_temp_sensor.c2
-rw-r--r--chip/lm4/peci.c2
-rw-r--r--chip/npcx/peci.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/chip/ish/aontaskfw/ish_aon_share.h b/chip/ish/aontaskfw/ish_aon_share.h
index ff60a004c9..20b36ec2b2 100644
--- a/chip/ish/aontaskfw/ish_aon_share.h
+++ b/chip/ish/aontaskfw/ish_aon_share.h
@@ -10,7 +10,7 @@
#include "ia_structs.h"
#include "power_mgt.h"
-/* magic ID for valid aontask image sanity check */
+/* magic ID for valid aontask image check */
#define AON_MAGIC_ID 0x544E4F41 /*"AONT"*/
/* aontask error code */
diff --git a/chip/lm4/chip_temp_sensor.c b/chip/lm4/chip_temp_sensor.c
index 7dff771d6f..eb1bc4d133 100644
--- a/chip/lm4/chip_temp_sensor.c
+++ b/chip/lm4/chip_temp_sensor.c
@@ -10,7 +10,7 @@
#include "common.h"
#include "hooks.h"
-/* Initialize temperature reading to a sane value (27 C) */
+/* Initialize temperature reading to a valid value (27 C) */
static int last_val = C_TO_K(27);
static void chip_temp_sensor_poll(void)
diff --git a/chip/lm4/peci.c b/chip/lm4/peci.c
index 4c29165c50..b3b54a64bc 100644
--- a/chip/lm4/peci.c
+++ b/chip/lm4/peci.c
@@ -128,7 +128,7 @@ static void peci_init(void)
/* Set initial clock frequency */
peci_freq_changed();
- /* Initialize temperature reading buffer to a sane value. */
+ /* Initialize temperature reading buffer to a valid value. */
for (i = 0; i < TEMP_AVG_LENGTH; ++i)
temp_vals[i] = 300; /* 27 C */
}
diff --git a/chip/npcx/peci.c b/chip/npcx/peci.c
index 2744dbdb00..f3145bd2a7 100644
--- a/chip/npcx/peci.c
+++ b/chip/npcx/peci.c
@@ -255,7 +255,7 @@ static void peci_init(void)
CLEAR_BIT(NPCX_DEVALT(0x0A), 6);
/* Set initial clock frequency */
peci_freq_changed();
- /* Initialize temperature reading buffer to a sane value. */
+ /* Initialize temperature reading buffer to a valid value. */
for (i = 0; i < TEMP_AVG_LENGTH; ++i)
temp_vals[i] = 300; /* 27 C */