[PATCH 03/11] drivers: phy: phy-mtk-ufs: cleanup headers
Julien Stephan
jstephan at baylibre.com
Tue Mar 17 15:24:21 CET 2026
Remove unneeded headers and sort them alphabetically
Signed-off-by: Julien Stephan <jstephan at baylibre.com>
---
drivers/phy/phy-mtk-ufs.c | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/drivers/phy/phy-mtk-ufs.c b/drivers/phy/phy-mtk-ufs.c
index 1eda3df858d..14a90cf2064 100644
--- a/drivers/phy/phy-mtk-ufs.c
+++ b/drivers/phy/phy-mtk-ufs.c
@@ -6,23 +6,15 @@
* Copyright (c) 2025, Igor Belwon <igor.belwon at mentallysanemainliners.org>
*/
-#include "dm/ofnode.h"
-#include "dm/read.h"
-#include <clk.h>
-#include <dm.h>
-#include <generic-phy.h>
-#include <malloc.h>
-#include <mapmem.h>
-#include <regmap.h>
-#include <syscon.h>
#include <asm/io.h>
+#include <clk.h>
+#include <dm/device.h>
#include <dm/device_compat.h>
-#include <dm/devres.h>
-#include <linux/bitfield.h>
+#include <dm/read.h>
+#include <generic-phy.h>
#include <linux/bitops.h>
#include <linux/delay.h>
-
-#include <dt-bindings/phy/phy.h>
+#include <mapmem.h>
/* mphy register and offsets */
#define MP_GLB_DIG_8C 0x008C
--
2.52.0
More information about the U-Boot
mailing list