summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2020-10-21 13:55:40 -0600
committerCommit Bot <commit-bot@chromium.org>2020-10-22 19:20:55 +0000
commit67645100a8dd165840c65f4bb73343ec1e53300f (patch)
tree1d561e08528b0185161cf92d5855cbdb170ce3e7
parent27f4e222492e1341354a971c9f3fe49d0dc1aed6 (diff)
downloadchrome-ec-67645100a8dd165840c65f4bb73343ec1e53300f.tar.gz
various: Fix spelling
weather -> whether BUG=none TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I600571f289f01bdc474f8dd02787ad0afab19134 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2490723 Reviewed-by: Diana Z <dzigterman@chromium.org>
-rw-r--r--driver/touchpad_st.c2
-rw-r--r--include/usb_dp_alt_mode.h4
-rw-r--r--include/usb_mode.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/driver/touchpad_st.c b/driver/touchpad_st.c
index c5211dcead..a77ee2590f 100644
--- a/driver/touchpad_st.c
+++ b/driver/touchpad_st.c
@@ -742,7 +742,7 @@ static void st_tp_handle_status_report(struct st_tp_event_t *e)
*
* When there are error events, suggested action will be saved in `tp_control`.
*
- * @param show_error: weather EC should read and dump error or not.
+ * @param show_error: whether EC should read and dump error or not.
* ***If this is true, rx_buf.events[] will be cleared.***
*
* @return number of events available
diff --git a/include/usb_dp_alt_mode.h b/include/usb_dp_alt_mode.h
index 273ac9b25f..1cde3c3752 100644
--- a/include/usb_dp_alt_mode.h
+++ b/include/usb_dp_alt_mode.h
@@ -33,8 +33,8 @@ void dp_init(int port);
bool dp_is_active(int port);
/*
- * Checks weather the mode entry sequence for DisplayPort alternate mode is
- * done for a port.
+ * Checks whether the mode entry sequence for DisplayPort alternate mode is done
+ * for a port.
*
* @param port USB-C port number
* @return True if entry sequence for DisplayPort mode is completed
diff --git a/include/usb_mode.h b/include/usb_mode.h
index 7c125e1406..728d7abc44 100644
--- a/include/usb_mode.h
+++ b/include/usb_mode.h
@@ -24,7 +24,7 @@
void enter_usb_init(int port);
/*
- * Checks weather the mode entry sequence for USB4 is done for a port.
+ * Checks whether the mode entry sequence for USB4 is done for a port.
*
* @param port USB-C port number
* @return True if entry sequence for USB4 is completed