coccinelle: re-run timeout conversion semantic patch
Run the int_literal_to_timeout Coccinelle script to fix places where it is clear that an integer duration is being passed where a timeout value is required. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
d4bb09c083
commit
ecf3bdb5b3
15 changed files with 21 additions and 21 deletions
|
@ -351,7 +351,7 @@ static int gsm_init(struct device *device)
|
|||
|
||||
k_delayed_work_init(&gsm->gsm_configure_work, gsm_configure);
|
||||
|
||||
(void)k_delayed_work_submit(&gsm->gsm_configure_work, 0);
|
||||
(void)k_delayed_work_submit(&gsm->gsm_configure_work, K_NO_WAIT);
|
||||
|
||||
LOG_DBG("iface->read %p iface->write %p",
|
||||
gsm->context.iface.read, gsm->context.iface.write);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue