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
|
@ -189,7 +189,7 @@ int ccs811_init_interrupt(struct device *dev)
|
|||
CONFIG_CCS811_THREAD_STACK_SIZE,
|
||||
(k_thread_entry_t)irq_thread, dev,
|
||||
0, NULL, K_PRIO_COOP(CONFIG_CCS811_THREAD_PRIORITY),
|
||||
0, 0);
|
||||
0, K_NO_WAIT);
|
||||
#elif defined(CONFIG_CCS811_TRIGGER_GLOBAL_THREAD)
|
||||
drv_data->work.handler = work_cb;
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue