coccinelle: standardize kernel API timeout arguments
Use the int_literal_to_timeout Coccinelle script to convert literal integer arguments for kernel API timeout parameters to the standard timeout value representations. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
0e5329331b
commit
ab91eef23b
48 changed files with 160 additions and 133 deletions
|
@ -442,7 +442,7 @@ static int ht16k33_init(struct device *dev)
|
|||
|
||||
/* Setup timer for polling key data */
|
||||
k_timer_init(&data->timer, ht16k33_timer_callback, NULL);
|
||||
k_timer_start(&data->timer, 0,
|
||||
k_timer_start(&data->timer, K_NO_WAIT,
|
||||
CONFIG_HT16K33_KEYSCAN_POLL_MSEC);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue