summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2020-08-05 11:16:48 -0700
committerCommit Bot <commit-bot@chromium.org>2020-08-14 05:59:03 +0000
commitc7bf1bd094828785d4444a01e54ca703bfc5c797 (patch)
tree27ad2edc36ee9e4769de1e51cfaaf64ae19e6574 /chip
parent89d7fa59ea9674d8f7d561739f81cdb3d9c80774 (diff)
downloadchrome-ec-c7bf1bd094828785d4444a01e54ca703bfc5c797.tar.gz
COIL: change usage of sanity
Google is working to change its source code to use more inclusive language. To that end, replace the term "sanity" with inclusive alternatives. BUG=b:163885307 BRANCH=None TEST=make -j buildall TEST=grep -ir sanity Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I487a50999d506a0337f1d3fbe173f193e5e4098a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2353516 Reviewed-by: Sam Hurst <shurst@google.com>
Diffstat (limited to 'chip')
-rw-r--r--chip/stm32/clock-stm32g4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/clock-stm32g4.c b/chip/stm32/clock-stm32g4.c
index 172a68ce66..941cb94327 100644
--- a/chip/stm32/clock-stm32g4.c
+++ b/chip/stm32/clock-stm32g4.c
@@ -77,7 +77,7 @@ static void stm32g4_config_pll(uint32_t hclk_hz, uint32_t pll_src,
pll_n = (hclk_hz * STM32G4_PLL_R * STM32G4_AHB_PRE) /
STM32G4_PLL_IN_FREQ_HZ;
- /* Sanity checks */
+ /* validity checks */
ASSERT(pll_m && (pll_m <= 16));
ASSERT((pll_n >= 8) && (pll_n <= 127));