From c351a0e044bf345535c1ae2991719b12e89fa98b Mon Sep 17 00:00:00 2001 From: Wei-Tai Lee Date: Mon, 11 Nov 2024 17:41:15 +0800 Subject: [PATCH] drivers: cache: andes: Fix incorrect DT_PROP usage Remove redundant quotation marks when parsing cache line size from DTS properties. Signed-off-by: Wei-Tai Lee --- drivers/cache/cache_andes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cache/cache_andes.c b/drivers/cache/cache_andes.c index 56dc32dfa59..4b8cd66b87d 100644 --- a/drivers/cache/cache_andes.c +++ b/drivers/cache/cache_andes.c @@ -536,7 +536,7 @@ static int andes_cache_init(void) cache_cfg.instr_line_size = CONFIG_ICACHE_LINE_SIZE; #elif DT_NODE_HAS_PROP(DT_PATH(cpus, cpu_0), i_cache_line_size) cache_cfg.instr_line_size = - DT_PROP(DT_PATH(cpus, cpu_0), "i_cache_line_size"); + DT_PROP(DT_PATH(cpus, cpu_0), i_cache_line_size); #else LOG_ERR("Please specific the i-cache-line-size " "CPU0 property of the DT"); @@ -560,7 +560,7 @@ static int andes_cache_init(void) cache_cfg.data_line_size = CONFIG_DCACHE_LINE_SIZE; #elif DT_NODE_HAS_PROP(DT_PATH(cpus, cpu_0), d_cache_line_size) cache_cfg.data_line_size = - DT_PROP(DT_PATH(cpus, cpu_0), "d_cache_line_size"); + DT_PROP(DT_PATH(cpus, cpu_0), d_cache_line_size); #else LOG_ERR("Please specific the d-cache-line-size " "CPU0 property of the DT");