drivers: clock_control: agilex: remove redundant soc.h include
<soc.h> has been traditionally been used as a proxy to HAL headers, register definitions, etc. Nowadays, <soc.h> 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 <soc.h> usage when not needed, and by eventually removing it. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
7de5f47e1a
commit
63c15efa62
1 changed files with 0 additions and 1 deletions
|
@ -9,7 +9,6 @@
|
|||
#include <zephyr/drivers/clock_control/clock_agilex_ll.h>
|
||||
#include <zephyr/dt-bindings/clock/intel_socfpga_clock.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
#include <soc.h>
|
||||
|
||||
LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue