coccinelle: standardize k_thread create/define calls with integer timeouts
Re-run with updated script to convert integer literal delay arguments to k_thread_create and K_THREAD_DEFINE to use the standard timeout macros. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
03c22b8c94
commit
e28f330a8e
86 changed files with 201 additions and 180 deletions
|
@ -130,7 +130,7 @@ int adt7420_init_interrupt(struct device *dev)
|
|||
CONFIG_ADT7420_THREAD_STACK_SIZE,
|
||||
(k_thread_entry_t)adt7420_thread, dev,
|
||||
0, NULL, K_PRIO_COOP(CONFIG_ADT7420_THREAD_PRIORITY),
|
||||
0, 0);
|
||||
0, K_NO_WAIT);
|
||||
#elif defined(CONFIG_ADT7420_TRIGGER_GLOBAL_THREAD)
|
||||
drv_data->work.handler = adt7420_work_cb;
|
||||
drv_data->dev = dev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue