[PATCH 4/5] clk: qcom: milos: Cleanup redundant header includes
From: Krzysztof Kozlowski
Date: Wed Mar 18 2026 - 07:19:27 EST
Remove unused header includes - drivers do not use any clk, OF or
PTR_ERR API, but they need declaration of of_device_id table.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
---
drivers/clk/qcom/dispcc-milos.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/clk/qcom/dispcc-milos.c b/drivers/clk/qcom/dispcc-milos.c
index 339cb1c63ba7..0a483fb6683a 100644
--- a/drivers/clk/qcom/dispcc-milos.c
+++ b/drivers/clk/qcom/dispcc-milos.c
@@ -4,12 +4,10 @@
* Copyright (c) 2025, Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
*/
-#include <linux/clk.h>
#include <linux/clk-provider.h>
-#include <linux/err.h>
#include <linux/kernel.h>
+#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
--
2.51.0