summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config.h4
-rw-r--r--include/host_command.h2
-rw-r--r--include/lb_common.h2
-rw-r--r--include/rtc.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/include/config.h b/include/config.h
index acc5004b07..2a7235f176 100644
--- a/include/config.h
+++ b/include/config.h
@@ -3652,7 +3652,7 @@
* console logs on SRAM so that the logs will be preserved after EC shutting
* down or sysjumped. It will keep the contents across EC resets, so we have
* more information about system states. The contents on SRAM will be cleared
- * when checksum or sanity check fails.
+ * when checksum or validity check fails.
*/
#undef CONFIG_PRESERVE_LOGS
@@ -5256,7 +5256,7 @@
#include "test_config.h"
/*
- * Sanity checks to make sure some of the configs above make sense.
+ * Validity checks to make sure some of the configs above make sense.
*/
#if (CONFIG_AUX_TIMER_PERIOD_MS) < ((HOOK_TICK_INTERVAL_MS) * 2)
diff --git a/include/host_command.h b/include/host_command.h
index 189def22f2..363dd050db 100644
--- a/include/host_command.h
+++ b/include/host_command.h
@@ -230,7 +230,7 @@ void host_command_received(struct host_cmd_handler_args *args);
/**
* Return the expected host packet size given its header.
*
- * Also does some sanity checking on the host request.
+ * Also does some validity checking on the host request.
*
* @param r Host request header
* @return The expected packet size, or 0 if error.
diff --git a/include/lb_common.h b/include/lb_common.h
index b7cbc1e869..327c810cad 100644
--- a/include/lb_common.h
+++ b/include/lb_common.h
@@ -22,7 +22,7 @@ int lb_get_rgb(unsigned int led, uint8_t *red, uint8_t *green, uint8_t *blue);
void lb_set_brightness(unsigned int newval);
/* Get the overall brighness level. */
uint8_t lb_get_brightness(void);
-/* Initialize the IC controller registers to sane values. */
+/* Initialize the IC controller registers to reasonable values. */
void lb_init(int use_lock);
/* Disable the LED current off (the IC stays on). */
void lb_off(void);
diff --git a/include/rtc.h b/include/rtc.h
index fa56634c5b..c9909bbc48 100644
--- a/include/rtc.h
+++ b/include/rtc.h
@@ -20,9 +20,9 @@
struct calendar_date {
/* The number of years since A.D. 2000, i.e. year = 17 for y2017 */
uint8_t year;
- /* 1-based indexing, i.e. sane values range from 1 to 12 */
+ /* 1-based indexing, i.e. valid values range from 1 to 12 */
uint8_t month;
- /* 1-based indexing, i.e. sane values range from 1 to 31 */
+ /* 1-based indexing, i.e. valid values range from 1 to 31 */
uint8_t day;
};