everywhere: fix typos

Fix a lot of typos

Signed-off-by: Nazar Kazakov <nazar.kazakov.work@gmail.com>
This commit is contained in:
Nazar Kazakov 2022-02-24 12:00:55 +00:00 committed by Anas Nashif
commit 9713f0d47c
331 changed files with 478 additions and 478 deletions

View file

@ -33,7 +33,7 @@ config MODEM_SIMCOM_SIM7080_INIT_PRIORITY
int "simcom sim7080 driver init priority"
default 80
help
simcom sim7080 druver initialization priority.
simcom sim7080 driver initialization priority.
config MODEM_SIMCOM_SIM7080_LTE_BANDS
string "LTE bands the driver can use"

View file

@ -384,7 +384,7 @@ static const char TIME_STRING_FORMAT[] = "\"yy/MM/dd,hh:mm:ss?zz\"";
} while (0)
/* Complex has "no_id_resp" set to true because the sending command
* is the command used to process the respone
* is the command used to process the response
*/
#define SEND_COMPLEX_AT_CMD(c) \
do { \
@ -5275,7 +5275,7 @@ reboot:
}
/* Query PDP authentication context to get APN username/password.
* Temporary Workaroud - Ignore error
* Temporary Workaround - Ignore error
* On some modules this is returning an error and the response data.
*/
SEND_AT_CMD_IGNORE_ERROR("AT+WPPP?");
@ -5435,7 +5435,7 @@ static int connect_TCP_socket(struct hl7800_socket *sock)
goto done;
}
/* Now wait for +KTCP_IND or +KTCP_NOTIF to ensure
* the connection succeded or failed.
* the connection succeeded or failed.
*/
ret = k_sem_take(&sock->sock_send_sem, MDM_CMD_CONN_TIMEOUT);
if (ret == 0) {

View file

@ -151,7 +151,7 @@ static int parse_params(struct modem_cmd_handler_data *data, size_t match_len,
argv[*argc] = &data->match_buf[begin];
/* end parameter with NUL char
* NOTE: if this is at the end of match_len will probably
* be overwriting a NUL that's already ther
* be overwriting a NUL that's already there
*/
data->match_buf[end] = '\0';
(*argc)++;

View file

@ -930,7 +930,7 @@ static const struct setup_cmd setup_cmds[] = {
/* Func: modem_pdp_context_active
* Desc: This helper function is called from modem_setup, and is
* used to open the PDP context. If there is trouble activating the
* PDP context, we try to deactive and reactive MDM_PDP_ACT_RETRY_COUNT times.
* PDP context, we try to deactivate and reactivate MDM_PDP_ACT_RETRY_COUNT times.
* If it fails, we return an error.
*/
static int modem_pdp_context_activate(void)

View file

@ -918,7 +918,7 @@ MODEM_CMD_DEFINE(on_urc_ftpget)
}
/*
* Read manufacurer identification.
* Read manufacturer identification.
*/
MODEM_CMD_DEFINE(on_cmd_cgmi)
{
@ -1283,7 +1283,7 @@ static int modem_autobaud(void)
* Get the next parameter from the gnss phrase.
*
* @param src The source string supported on first call.
* @param delim The delimeter of the parameter list.
* @param delim The delimiter of the parameter list.
* @param saveptr Pointer for subsequent parses.
* @return On success a pointer to the parameter. On failure
* or end of string NULL is returned.
@ -1873,7 +1873,7 @@ static int mdm_decode_pdu(const char *pdu, size_t pdu_len, struct sim7080_sms *t
return -1;
}
/* read protocol idenifier */
/* read protocol identifier */
target_buf->tp_pid = mdm_pdu_read_byte(pdu, index++);
if (index >= pdu_len) {

View file

@ -2053,7 +2053,7 @@ static int net_offload_dummy_get(sa_family_t family,
return -ENOTSUP;
}
/* placeholders, until Zepyr IP stack updated to handle a NULL net_offload */
/* placeholders, until Zephyr IP stack updated to handle a NULL net_offload */
static struct net_offload modem_net_offload = {
.get = net_offload_dummy_get,
};

View file

@ -1251,7 +1251,7 @@ static int modem_pin_init(void)
pinconfig[SHLD_3V3_1V8_SIG_TRANS_ENA].pin,
SHLD_3V3_1V8_SIG_TRANS_DISABLED);
/* While the level translator is disabled and ouptut pins
/* While the level translator is disabled and output pins
* are tristated, make sure the inputs are in the same state
* as the WNC Module pins so that when the level translator is
* enabled, there are no differences.