all: Deprecate UTIL_LISTIFY and replace with LISTIFY

UTIL_LISTIFY is deprecated. Replacing it with LISTIFY.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2022-02-28 14:06:36 +01:00 committed by Carles Cufí
commit 47ae656cc1
42 changed files with 206 additions and 232 deletions

View file

@ -41,10 +41,10 @@ static k_timeout_t init_backoff[CONFIG_ZTRESS_MAX_THREADS];
K_THREAD_STACK_ARRAY_DEFINE(stacks, CONFIG_ZTRESS_MAX_THREADS, CONFIG_ZTRESS_STACK_SIZE);
static k_tid_t idle_tid;
#define THREAD_NAME(i, _) STRINGIFY(ztress_##i),
#define THREAD_NAME(i, _) STRINGIFY(ztress_##i)
static const char * const thread_names[] = {
UTIL_LISTIFY(CONFIG_ZTRESS_MAX_THREADS, THREAD_NAME, _)
LISTIFY(CONFIG_ZTRESS_MAX_THREADS, THREAD_NAME, (,))
};
struct ztress_runtime {