From 63c15efa626774d2de956f0aa2363bf2139a85a9 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Tue, 31 May 2022 18:31:45 +0200 Subject: [PATCH] drivers: clock_control: agilex: remove redundant soc.h include has been traditionally been used as a proxy to HAL headers, register definitions, etc. Nowadays, is anarchy. It serves a different purpose depending on the SoC. In some cases it includes HALs, in some others it works as a header sink/proxy (for no good reason), as a register definition when there's no HAL... To make things worse, it is being included in code that is, in theory, non-SoC specific. This patch is part of a series intended to improve the situation by removing usage when not needed, and by eventually removing it. Signed-off-by: Gerard Marull-Paretas --- drivers/clock_control/clock_agilex.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clock_control/clock_agilex.c b/drivers/clock_control/clock_agilex.c index cc2f1b1cdc0..f3a96b51138 100644 --- a/drivers/clock_control/clock_agilex.c +++ b/drivers/clock_control/clock_agilex.c @@ -9,7 +9,6 @@ #include #include #include -#include LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);